summaryrefslogtreecommitdiff
path: root/docs/setup.ja.md
diff options
context:
space:
mode:
authorかひわし4(バージョン1) <khws4v1@gmail.com>2019-04-08 21:40:13 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-04-08 21:40:13 +0900
commiteb14acbe0c2f2e3897f82a01779daa493d345436 (patch)
tree84e8a63c7bf5854bcf6355333cd36475814664a2 /docs/setup.ja.md
parentwip migration (diff)
downloadsharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.tar.gz
sharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.tar.bz2
sharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.zip
Doc: Update installing command (#4655)
Replace the "Checkout to Latest Release" command. Current setup document will checkout latest alpha version. Because grep command in the document does not exclude alpha version tags.
Diffstat (limited to 'docs/setup.ja.md')
-rw-r--r--docs/setup.ja.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/setup.ja.md b/docs/setup.ja.md
index 1543541eee..f636a74181 100644
--- a/docs/setup.ja.md
+++ b/docs/setup.ja.md
@@ -47,7 +47,7 @@ adduser --disabled-password --disabled-login misskey
1. `su - misskey` misskeyユーザーを使用
2. `git clone -b master git://github.com/syuilo/misskey.git` masterブランチからMisskeyレポジトリをクローン
3. `cd misskey` misskeyディレクトリに移動
-4. `git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)` [最新のリリース](https://github.com/syuilo/misskey/releases/latest)を確認
+4. `git checkout $(git tag -l | grep -Ev -- '-(rc|alpha)\.[0-9]+$' | sort -V | tail -n 1)` [最新のリリース](https://github.com/syuilo/misskey/releases/latest)を確認
5. `npm install` Misskeyの依存パッケージをインストール
*5.* 設定ファイルを作成する
@@ -115,7 +115,7 @@ CentOSで1024以下のポートを使用してMisskeyを使用する場合は`Ex
### Misskeyを最新バージョンにアップデートする方法:
1. `git fetch`
-2. `git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)`
+2. `git checkout $(git tag -l | grep -Ev -- '-(rc|alpha)\.[0-9]+$' | sort -V | tail -n 1)`
3. `npm install`
4. `NODE_ENV=production npm run build`
5. [ChangeLog](../CHANGELOG.md)でマイグレーション情報を確認する