mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 01:11:08 +00:00
Add instructions for postgres dev setup
This commit is contained in:
parent
6dd1711e11
commit
cfb888ff47
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue