Update README.md
This commit is contained in:
parent
b2b6f5d78c
commit
4105725dfc
|
@ -45,8 +45,11 @@ app = Devicehub(MyConfig())
|
||||||
```
|
```
|
||||||
Create a PostgreSQL database called *dh-db1*:
|
Create a PostgreSQL database called *dh-db1*:
|
||||||
|
|
||||||
- In Ubuntu: `# postgres -i` and then `createdb dh-db1`.
|
```bash
|
||||||
- In Debian: `$ createdb dh-db1`
|
$ sudo -u postgres psql postgres
|
||||||
|
postgres=# createdb dh-db1
|
||||||
|
postgres=# \q
|
||||||
|
```
|
||||||
|
|
||||||
Create the tables in the database by executing in the same directory
|
Create the tables in the database by executing in the same directory
|
||||||
where `app.py` is:
|
where `app.py` is:
|
||||||
|
|
Reference in New Issue