File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- To build mjolnir, you have to have installed ` yarn ` 1.x and Node 16.
1+ These instructions are to build and run mjolnir without using [ Docker] ( ./setup_docker.md ) .
2+ You need to have installed ` yarn ` 1.x and Node 16.
23
34``` bash
45git clone https://github.com/matrix-org/mjolnir.git
@@ -7,9 +8,10 @@ cd mjolnir
78yarn install
89yarn build
910
10- # Copy and edit the config. It *is* recommended to change the data path.
11- cp config/default.yaml config/development.yaml
12- nano config/development.yaml
11+ # Copy and edit the config. It *is* recommended to change the data path,
12+ # as this is set to `/data` by default for dockerized mjolnir.
13+ cp config/default.yaml config/production.yaml
14+ nano config/production.yaml
1315
14- node lib/index.js
16+ NODE_ENV=production node lib/index.js
1517```
You can’t perform that action at this time.
0 commit comments