aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.py3
1 files changed, 3 insertions, 0 deletions
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'])