From 22046d2f40ad9188be68a0600f604ce7dce10c5b Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 30 Oct 2022 09:21:54 +0100 Subject: [PATCH 1/5] Update setup_selfbuild.md Clarified the readme --- docs/setup_selfbuild.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index 908078ae..db16de91 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -1,4 +1,4 @@ -To build mjolnir, you have to have installed `yarn` 1.x and Node 16. +To build mjolnir, you have to have installed and [Node >16](https://nodejs.org/en/download/), [npm](https://docs.npmjs.com/cli/v7/configuring-npm/install) and [yarn >1.x](https://classic.yarnpkg.com/en/docs/install). ```bash git clone https://github.com/matrix-org/mjolnir.git From 3ecc657be9ff1d6b10c769a053ba4a18350e20d3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 30 Oct 2022 16:17:25 +0100 Subject: [PATCH 2/5] Update setup_selfbuild.md Added more explanation --- docs/setup_selfbuild.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index db16de91..72415ed7 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -1,7 +1,9 @@ To build mjolnir, you have to have installed and [Node >16](https://nodejs.org/en/download/), [npm](https://docs.npmjs.com/cli/v7/configuring-npm/install) and [yarn >1.x](https://classic.yarnpkg.com/en/docs/install). +Get the latest release-version https://github.com/matrix-org/mjolnir/releases/latest/ - for example `v1.5.0`. + ```bash -git clone https://github.com/matrix-org/mjolnir.git +git clone https://github.com/matrix-org/mjolnir.git --branch v1.5.0 cd mjolnir yarn install @@ -11,5 +13,6 @@ yarn build cp config/default.yaml config/development.yaml nano config/development.yaml +# Start Mjolnir node lib/index.js ``` From 887375d27751583ca91d85dccbee548614d9739a Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 22 Nov 2022 12:57:31 +0100 Subject: [PATCH 3/5] Update setup_selfbuild.md --- docs/setup_selfbuild.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index 72415ed7..22f3959b 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -1,4 +1,4 @@ -To build mjolnir, you have to have installed and [Node >16](https://nodejs.org/en/download/), [npm](https://docs.npmjs.com/cli/v7/configuring-npm/install) and [yarn >1.x](https://classic.yarnpkg.com/en/docs/install). +To build mjolnir, you have to have installed [Node >16](https://nodejs.org/en/download/), [npm](https://docs.npmjs.com/cli/v7/configuring-npm/install) and [yarn >1.x](https://classic.yarnpkg.com/en/docs/install). Get the latest release-version https://github.com/matrix-org/mjolnir/releases/latest/ - for example `v1.5.0`. @@ -13,6 +13,6 @@ yarn build cp config/default.yaml config/development.yaml nano config/development.yaml -# Start Mjolnir -node lib/index.js +# Start Mjolnir and make use of the production.yaml (instead of default.yaml) +NODE_ENV=production node lib/index.js ``` From afb6777f8ca7c003da7f792830e8a7d637c3955e Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 22 Nov 2022 13:05:35 +0100 Subject: [PATCH 4/5] Update setup_selfbuild.md --- docs/setup_selfbuild.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index 22f3959b..f6c75158 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -1,9 +1,9 @@ To build mjolnir, you have to have installed [Node >16](https://nodejs.org/en/download/), [npm](https://docs.npmjs.com/cli/v7/configuring-npm/install) and [yarn >1.x](https://classic.yarnpkg.com/en/docs/install). -Get the latest release-version https://github.com/matrix-org/mjolnir/releases/latest/ - for example `v1.5.0`. +Get the latest release-version https://github.com/matrix-org/mjolnir/releases/latest/ - for example `v1.6.0`. ```bash -git clone https://github.com/matrix-org/mjolnir.git --branch v1.5.0 +git clone https://github.com/matrix-org/mjolnir.git --branch v1.6.0 cd mjolnir yarn install From e1b24a1e11c4454ad9c127c5da945ff8e4822bb9 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 22 Nov 2022 17:44:04 +0100 Subject: [PATCH 5/5] Update setup_selfbuild.md --- docs/setup_selfbuild.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index f6c75158..ee2ce916 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -10,8 +10,8 @@ yarn install yarn build # Copy and edit the config. It *is* recommended to change the data path. -cp config/default.yaml config/development.yaml -nano config/development.yaml +cp config/default.yaml config/production.yaml +nano config/production.yaml # Start Mjolnir and make use of the production.yaml (instead of default.yaml) NODE_ENV=production node lib/index.js