diff --git a/README.md b/README.md index 113c22a..f091533 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,15 @@ * start postgres * create postgres user * `$ sudo su postgres` - * `$ createuser --interactive` -> owl + * `$ createuser --interactive` -> "owl" role with relevant priviledges +* create postgres database "matcher" + * `$ psql -U postgres` + * `> CREATE DATABASE matcher;` + * `> ALTER DATABASE matcher OWNER TO owl;` * create the db tables + * TODO find out where credentials are stored + * setup credentials in default.py + * `$ python create_db.py` * setup a venv * enter the venv, e.g. in pycharm * `$ pip install -r requirements.txt`