Files
Draupnir/docs/setup_selfbuild.md
T
gnuxie 74312e43f6 Update to node 18.
End of life was moved forwards by 7 months so we don't have a choice.
https://nodejs.org/en/blog/announcements/nodejs16-eol.
2023-05-10 19:57:17 +01:00

18 lines
516 B
Markdown

These instructions are to build and run draupnir without using [Docker](./setup_docker.md).
You need to have installed `yarn` 1.x and Node 18.
```bash
git clone https://github.com/gnuxie/draupnir.git
cd draupnir
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 draupnir.
cp config/default.yaml config/production.yaml
nano config/production.yaml
node lib/index.js --draupnir-config ./config/production.yaml
```