mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-16 13:06:30 +00:00
689 B
Vendored
689 B
Vendored
Requirements
Set up Postgres DB
cd server
./db-init.sh
Or run the commands manually:
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/LemmyNet/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