From c485226aaee52f6f6d121e233ec8e957daa5fbf7 Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Wed, 18 Aug 2021 19:38:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 7 +++++++ runscripts/postgres/createdb.sh | 11 ----------- 2 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 runscripts/postgres/createdb.sh diff --git a/requirements.txt b/requirements.txt index 0bd7a4c..2d26692 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,21 @@ +alembic==1.6.5 blinker==1.4 click==8.0.1 colorama==0.4.4 Flask==2.0.1 Flask-Login==0.5.0 Flask-Mail==0.9.1 +Flask-Migrate==3.1.0 Flask-SQLAlchemy==2.5.1 greenlet==1.1.0 gunicorn==20.1.0 itsdangerous==2.0.1 Jinja2==3.0.1 +Mako==1.1.4 MarkupSafe==2.0.1 +psycopg2-binary==2.9.1 +python-dateutil==2.8.2 +python-editor==1.0.4 +six==1.16.0 SQLAlchemy==1.4.20 Werkzeug==2.0.1 diff --git a/runscripts/postgres/createdb.sh b/runscripts/postgres/createdb.sh deleted file mode 100644 index 33065b4..0000000 --- a/runscripts/postgres/createdb.sh +++ /dev/null @@ -1,11 +0,0 @@ -sudo -u postgres psql - -CREATE DATABASE dyxless; - -CREATE ROLE dyxless; - -ALTER USER dyxless WITH PASSWORD 'password'; - -ALTER ROLE "dyxless" WITH LOGIN; - -ALTER DATABASE dyxless OWNER TO dyxless; \ No newline at end of file