From 2752319e50dd77dd4a22b974a5a8933a377b8b50 Mon Sep 17 00:00:00 2001 From: Angristan Date: Fri, 1 Jun 2018 20:24:30 +0200 Subject: [PATCH 1/2] Update build docs Fix #1474 --- docs/setup.en.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/setup.en.md b/docs/setup.en.md index 8dde4d00d..d5c54334b 100644 --- a/docs/setup.en.md +++ b/docs/setup.en.md @@ -47,12 +47,12 @@ You need to generate config file via `npm run config` command. *5.* Build Misskey ---------------------------------------------------------------- -We need to use `node-gyp` to build the `crypto` module. -1. `npm install -g node-gyp` -2. `node-gyp configure` -3. `node-gyp build` -4. `npm run build` +If you're on Debian, you will need to install the `build-essential` package. + +Then build misskey: + +`npm run build` *6.* That is it. ---------------------------------------------------------------- From 8d78ee08c111b09479484c53e63fb32a1721b848 Mon Sep 17 00:00:00 2001 From: Angristan Date: Fri, 1 Jun 2018 20:52:47 +0200 Subject: [PATCH 2/2] Cover multiple cases --- docs/setup.en.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/setup.en.md b/docs/setup.en.md index d5c54334b..28e025521 100644 --- a/docs/setup.en.md +++ b/docs/setup.en.md @@ -48,12 +48,19 @@ You need to generate config file via `npm run config` command. *5.* Build Misskey ---------------------------------------------------------------- -If you're on Debian, you will need to install the `build-essential` package. - -Then build misskey: +Build misskey with the following: `npm run build` +If you're on Debian, you will need to install the `build-essential` package. + +If you're still encountering errors about some modules, use node-gyp: + +1. `npm install -g node-gyp` +2. `node-gyp configure` +3. `node-gyp build` +4. `npm run build` + *6.* That is it. ---------------------------------------------------------------- Well done! Now, you have an environment that run to Misskey.