diff --git a/docs/config.md b/.config/example.yml similarity index 98% rename from docs/config.md rename to .config/example.yml index c4a54c0beed1534cdb1830f1b1d11d77ff5705f5..0e167ccb7796a8c591b1ae4407ea0276f24a0f7e 100644 --- a/docs/config.md +++ b/.config/example.yml @@ -1,4 +1,3 @@ -``` yaml # サーãƒãƒ¼ã®ãƒ¡ãƒ³ãƒ†ãƒŠæƒ…å ± maintainer: # メンテナã®åå‰ @@ -56,5 +55,3 @@ twitter: # インテグレーション用アプリã®ã‚³ãƒ³ã‚·ãƒ¥ãƒ¼ãƒžãƒ¼ã‚·ãƒ¼ã‚¯ãƒ¬ãƒƒãƒˆ consumer_secret: - -``` diff --git a/.gitignore b/.gitignore index d0ae0b8085fd1da4afda0321af4262b99c44b4a0..be8689e2ed67a25ecc71097de2c4073cc3e9539d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -/.config +/.config/* +!/.config/example.yml /.vscode /node_modules /build diff --git a/docs/setup.en.md b/docs/setup.en.md index 08cd16857d6a10e8dba9d59f9f457f6195bf9d24..a436d751c86923dfd3e1c62e75dfb922c18763b6 100644 --- a/docs/setup.en.md +++ b/docs/setup.en.md @@ -37,9 +37,9 @@ Please install and setup these softwares: *3.* Prepare configuration ---------------------------------------------------------------- -First, you need to create a `.config` directory in the directory that -Misskey installed. And then you need to create a `default.yml` file in -the directory. The template of configuration is available [here](./config.md). +1. Copy `example.yml` of `.config` directory +2. Rename it to `default.yml` +3. Edit it *4.* Install and build Misskey ---------------------------------------------------------------- diff --git a/docs/setup.ja.md b/docs/setup.ja.md index 9fa56acb22f4581fae849ae3afdd408ba5c1c857..6605461d9f0f09510691aa8008b9da8a4ddf1ef0 100644 --- a/docs/setup.ja.md +++ b/docs/setup.ja.md @@ -37,9 +37,9 @@ web-push generate-vapid-keys *3.* è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’用æ„ã™ã‚‹ ---------------------------------------------------------------- -Misskeyをインストールã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ã€`.config`ã¨ã„ã†ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’作æˆã—〠-ãã®ä¸ã«`default.yml`ã¨ã„ã†åå‰ã§è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã‚’作ã£ã¦ãã ã•ã„。 -è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®ä¸‹æ›¸ãã¯[ã“ã“](./config.md)ã«ã‚ã‚Šã¾ã™ã®ã§ã€ã‚³ãƒ”ペã—ã¦ã”利用ãã ã•ã„。 +1. `.config`ディレクトリ内ã®`example.yml`をコピー +2. `default.yml`ã«ãƒªãƒãƒ¼ãƒ +3. 編集ã™ã‚‹ *4.* Misskeyã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«(ã¨ãƒ“ルド) ----------------------------------------------------------------