Update README.md

This commit is contained in:
Stephan 2018-06-21 17:26:36 +02:00 committed by GitHub
parent b2b6f5d78c
commit 4105725dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -45,8 +45,11 @@ app = Devicehub(MyConfig())
```
Create a PostgreSQL database called *dh-db1*:
- In Ubuntu: `# postgres -i` and then `createdb dh-db1`.
- In Debian: `$ createdb dh-db1`
```bash
$ sudo -u postgres psql postgres
postgres=# createdb dh-db1
postgres=# \q
```
Create the tables in the database by executing in the same directory
where `app.py` is: