]> Untitled Git - lemmy.git/blob - install.sh
Adding custom language setting.
[lemmy.git] / install.sh
1 #!/bin/sh
2 set -e
3
4 export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
5 export JWT_SECRET=changeme
6 export HOSTNAME=rrr
7
8 cd ui
9 yarn
10 yarn build
11 cd ../server
12 cargo run
13
14 # For live coding, where both the front and back end, automagically reload on any save, do:
15 # cd ui && yarn start
16 # cd server && cargo watch -x run