From 33b7cfa03d756e1d656928268099d705cb9c059e Mon Sep 17 00:00:00 2001 From: Tony <454794+tonyrewin@users.noreply.github.com> Date: Sat, 12 Nov 2022 14:52:59 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2e730c35..e3369f18 100644 --- a/README.md +++ b/README.md @@ -24,18 +24,18 @@ apt install redis nginx First, you'll need some data ``` + +psql -U postgres +> create database discoursio; +> \q python server.py migrate ``` Then run nginx, redis and API server ``` redis-server - -cp nginx.conf /usr/local/etc/nginx/. -nginx -s reload - pip install -r requirements.txt -python server.py +python3 server.py dev ``` # How to do an authorized request From 522fd2c7c85cb7a63e52307e1b456738c47867fc Mon Sep 17 00:00:00 2001 From: Tony <454794+tonyrewin@users.noreply.github.com> Date: Sat, 12 Nov 2022 14:56:29 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3369f18..b572042e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ on debian/ubuntu apt install redis nginx ``` -First, you'll need some data +First, install Postgres. Then you'll need some data ``` psql -U postgres