1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-21 20:11:08 +00:00

Add instructions for postgres dev setup

This commit is contained in:
Felix Ableitner 2024-02-27 18:24:39 +01:00
parent 6dd1711e11
commit cfb888ff47

View file

@ -19,6 +19,12 @@ To kickstart federation, paste the domain of a remote instance into the search f
## Development
First install PostgreSQL and setup the development database:
```sh
psql -c "CREATE USER ibis WITH PASSWORD 'ibis' SUPERUSER;" -U postgres
psql -c "CREATE DATABASE ibis WITH OWNER ibis;" -U postgres
```
You need to install [cargo](https://rustup.rs/) and [trunk](https://trunkrs.dev). Then run the following commands in separate terminals:
```
# start backend