lemmy/docs/src/contributing_local_development.md
D Anzorge 3bee6f6e31 Use correct database env variable in docs
see server/src/settings.rs
2020-01-27 01:45:02 +01:00

627 B
Vendored

Requirements

Set up Postgres DB

 psql -c "create user lemmy with password 'password' superuser;" -U postgres
 psql -c 'create database lemmy with owner lemmy;' -U postgres
 export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy

Running

git clone https://github.com/dessalines/lemmy
cd lemmy
./install.sh
# For live coding, where both the front and back end, automagically reload on any save, do:
# cd ui && yarn start
# cd server && cargo watch -x run