]> Untitled Git - lemmy.git/blobdiff - docs/src/contributing_local_development.md
Updating code url references to https://github.com/LemmyNet/lemmy
[lemmy.git] / docs / src / contributing_local_development.md
index c19bcba843cd19bd6e2b10c18de5d2e560e59516..e823c9d1b8cc18704b633c80bd66f1aecd33bdbf 100644 (file)
@@ -7,15 +7,22 @@
 #### Set up Postgres DB
 
 ```bash
- 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
+cd server
+./db-init.sh
+```
+
+Or run the commands manually:
+
+```bash
+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
 
 ```bash
-git clone https://github.com/dessalines/lemmy
+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: