fix database schema creation + dump restore commands in readme

This commit is contained in:
jkhsjdhjs 2018-12-01 15:19:51 +00:00
parent c36569d33d
commit 984e288b4a

View File

@ -17,8 +17,8 @@ CREATE DATABASE nxy_prod OWNER nxy;
Apply database schema and optionally restore a dump: Apply database schema and optionally restore a dump:
```sh ```sh
psql -U nxy -U nxy_prod < nxy/files/schema.sql psql -U nxy -d nxy_prod < nxy/files/schema.sql
psql -U nxy -U nxy_prod < path/to/dump.sql psql -U nxy -d nxy_prod < path/to/dump.sql
``` ```
Clone git repo, create virtual env, activate it and install dependencies: Clone git repo, create virtual env, activate it and install dependencies: