forked from FoundKeyGang/FoundKey
Close #4093
This commit is contained in:
parent
6071fc7077
commit
189f9f6592
3 changed files with 6 additions and 9 deletions
|
@ -35,9 +35,8 @@ Please install and setup these softwares:
|
||||||
As root:
|
As root:
|
||||||
1. `mongo` Go to the mongo shell
|
1. `mongo` Go to the mongo shell
|
||||||
2. `use misskey` Use the misskey database
|
2. `use misskey` Use the misskey database
|
||||||
3. `db.users.save( {dummy:"dummy"} )` Write dummy data to initialize the db.
|
3. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` Create the misskey user.
|
||||||
4. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` Create the misskey user.
|
4. `exit` You're done!
|
||||||
5. `exit` You're done !
|
|
||||||
|
|
||||||
*4.* Install Misskey
|
*4.* Install Misskey
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
|
@ -35,9 +35,8 @@ Installez les paquets suivants :
|
||||||
En root :
|
En root :
|
||||||
1. `mongo` Ouvrez le shell mongo
|
1. `mongo` Ouvrez le shell mongo
|
||||||
2. `use misskey` Utilisez la base de données misskey
|
2. `use misskey` Utilisez la base de données misskey
|
||||||
3. `db.users.save( {dummy:"dummy"} )` Écrivez une donnée factice pour initialiser la base de données.
|
3. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` Créez l'utilisateur misskey.
|
||||||
4. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` Créez l'utilisateur misskey.
|
4. `exit` Vous avez terminé !
|
||||||
5. `exit` Vous avez terminé !
|
|
||||||
|
|
||||||
*4.* Installation de Misskey
|
*4.* Installation de Misskey
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
|
@ -41,9 +41,8 @@ adduser --disabled-password --disabled-login misskey
|
||||||
ルートで:
|
ルートで:
|
||||||
1. `mongo` mongoシェルを起動
|
1. `mongo` mongoシェルを起動
|
||||||
2. `use misskey` misskeyデータベースを使用
|
2. `use misskey` misskeyデータベースを使用
|
||||||
3. `db.users.save( {dummy:"dummy"} )` ダミーデータを書き込みDBを初期化
|
3. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` misskeyユーザーを作成
|
||||||
4. `db.createUser( { user: "misskey", pwd: "<password>", roles: [ { role: "readWrite", db: "misskey" } ] } )` misskeyユーザーを作成
|
4. `exit` mongoシェルを終了
|
||||||
5. `exit` mongoシェルを終了
|
|
||||||
|
|
||||||
*4.* Misskeyのインストール
|
*4.* Misskeyのインストール
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue