From 4105725dfc43429cf5d494a096e57db470d79b03 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 21 Jun 2018 17:26:36 +0200 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70cc693c..5eb4b5b4 100644 --- a/README.md +++ b/README.md @@ -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: