mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-28 20:26:02 +00:00
Update selfbuld docs to no longer require on old behaviour. (#429)
The package we used to load config in the past, `node-config`, would
default to `development`.
f54b419900/lib/config.js (L561)
https://github.com/matrix-org/mjolnir/pull/347
This commit is contained in:
parent
aa50ab8e00
commit
85cb0f0215
@ -1,4 +1,5 @@
|
|||||||
To build mjolnir, you have to have installed `yarn` 1.x and Node 16.
|
These instructions are to build and run mjolnir without using [Docker](./setup_docker.md).
|
||||||
|
You need to have installed `yarn` 1.x and Node 16.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/matrix-org/mjolnir.git
|
git clone https://github.com/matrix-org/mjolnir.git
|
||||||
@ -7,9 +8,10 @@ cd mjolnir
|
|||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
# Copy and edit the config. It *is* recommended to change the data path.
|
# Copy and edit the config. It *is* recommended to change the data path,
|
||||||
cp config/default.yaml config/development.yaml
|
# as this is set to `/data` by default for dockerized mjolnir.
|
||||||
nano config/development.yaml
|
cp config/default.yaml config/production.yaml
|
||||||
|
nano config/production.yaml
|
||||||
|
|
||||||
node lib/index.js
|
NODE_ENV=production node lib/index.js
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user