aboutsummaryrefslogtreecommitdiffstats
path: root/install.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-03 14:13:56 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-03 14:13:56 +0200
commit880c323ddb5f48082d1d6400effd39afcd7b7675 (patch)
tree2d5007303e8c617ebee96eea79fb460709dcf16b /install.py
parent1ac8b3154e0dbbe065a37ac66eb111832a7b67db (diff)
downloadServo-880c323ddb5f48082d1d6400effd39afcd7b7675.tar.gz
Servo-880c323ddb5f48082d1d6400effd39afcd7b7675.tar.bz2
Servo-880c323ddb5f48082d1d6400effd39afcd7b7675.zip
Create directories in install.py
Diffstat (limited to 'install.py')
-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'])