From 880c323ddb5f48082d1d6400effd39afcd7b7675 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 3 Nov 2016 14:13:56 +0200 Subject: Create directories in install.py --- install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.py b/install.py index 97f37c9..5b761e1 100755 --- a/install.py +++ b/install.py @@ -46,6 +46,9 @@ print("** Setting up database tables **") call(['./manage.py', 'migrate']) call(['psql', '-c', 'ALTER SEQUENCE servo_order_id_seq RESTART WITH 12345', args['dbname'], args['dbuser']]) +print("** Creating directories **") +call(['./manage.py', 'makedirs']) + print("** Creating Super User **") call(['./manage.py', 'createsuperuser']) -- cgit v1.2.3