mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-14 11:25:11 +00:00
85cb0f0215
The package we used to load config in the past, `node-config`, would default to `development`. https://github.com/node-config/node-config/blob/f54b41990095c2b340ae129dfd8f623da1dfa20d/lib/config.js#L561 https://github.com/matrix-org/mjolnir/pull/347
493 B
493 B
These instructions are to build and run mjolnir without using Docker.
You need to have installed yarn 1.x and Node 16.
git clone https://github.com/matrix-org/mjolnir.git
cd mjolnir
yarn install
yarn build
# Copy and edit the config. It *is* recommended to change the data path,
# as this is set to `/data` by default for dockerized mjolnir.
cp config/default.yaml config/production.yaml
nano config/production.yaml
NODE_ENV=production node lib/index.js