updates to README
This commit is contained in:
parent
7bf3a52599
commit
05c4a5da2f
13
README.md
13
README.md
@ -23,14 +23,17 @@ The following Description applies to Ubuntu or similar.
|
||||
you'll get a prompt:
|
||||
|
||||
```
|
||||
Enter name of role to add:` - [enter 'uniworx']
|
||||
Enter name of role to add:` - uniworx
|
||||
Shall the new role be a superuser? (y/n)` - [not exactly sure. Guess not?]
|
||||
Password: uniworx
|
||||
...
|
||||
```
|
||||
|
||||
create database *uniworx*:
|
||||
`createdb uniworx`
|
||||
after you added the database switch back to your own user with `Ctrl + D`.
|
||||
|
||||
to access the database as user *uniworx* you now need to add a new linux-user called *uniworx*:
|
||||
to access the database as user *uniworx* you now need to add a new linux-user called *uniworx*. when you get asked for a password enter *uniworx*.
|
||||
`sudo adduser uniworx`
|
||||
|
||||
log-in as new user *uniworx*:
|
||||
@ -52,6 +55,10 @@ The following Description applies to Ubuntu or similar.
|
||||
Go ahead an install `libpq-dev` with
|
||||
`sudo apt-get install libpq-dev`
|
||||
|
||||
Other packages you might need to install during this process:
|
||||
`sudo apt-get install pkg-config`
|
||||
`sudo apt-get install libsodium-dev`
|
||||
|
||||
Build the app:
|
||||
`stack build`
|
||||
|
||||
@ -62,7 +69,7 @@ The following Description applies to Ubuntu or similar.
|
||||
|
||||
## Add Dumy-Data and run the app
|
||||
After building the app you can prepare the database and add some dummy data:
|
||||
`./fill-db.hs`
|
||||
`./db.sh -f`
|
||||
|
||||
Run the app:
|
||||
`./start.sh`
|
||||
|
||||
Reference in New Issue
Block a user