@@ -78,30 +78,30 @@ VNOJ uses `sass` and `autoprefixer` to generate the site stylesheets. VNOJ comes
7878Now, collect static files into ` STATIC_ROOT ` as specified in ` dmoj/local_settings.py ` .
7979
8080``` shell-session
81- (vnojsite) $ python3 manage.py collectstatic
81+ (vnojsite) $ ./ manage.py collectstatic
8282```
8383
8484You will also need to generate internationalization files.
8585
8686``` shell-session
87- (vnojsite) $ python3 manage.py compilemessages
88- (vnojsite) $ python3 manage.py compilejsi18n
87+ (vnojsite) $ ./ manage.py compilemessages
88+ (vnojsite) $ ./ manage.py compilejsi18n
8989```
9090
9191## Setting up database tables
9292
9393We must generate the schema for the database, since it is currently empty.
9494
9595``` shell-session
96- (vnojsite) $ python3 manage.py migrate
96+ (vnojsite) $ ./ manage.py migrate
9797```
9898
9999Next, load some initial data so that your install is not entirely blank.
100100
101101``` shell-session
102- (vnojsite) $ python3 manage.py loaddata navbar
103- (vnojsite) $ python3 manage.py loaddata language_small
104- (vnojsite) $ python3 manage.py loaddata demo
102+ (vnojsite) $ ./ manage.py loaddata navbar
103+ (vnojsite) $ ./ manage.py loaddata language_small
104+ (vnojsite) $ ./ manage.py loaddata demo
105105```
106106
107107!> Keep in mind that the ` demo ` fixture creates a superuser account with a username and password of ` admin ` . If your
@@ -110,7 +110,7 @@ site is exposed to others, you should change the user's password or remove the u
110110You should create an admin account with which to log in initially.
111111
112112``` shell-session
113- (vnojsite) $ python3 manage.py createsuperuser
113+ (vnojsite) $ ./ manage.py createsuperuser
114114```
115115
116116## Setting up Celery
@@ -132,13 +132,13 @@ We will test that Celery works soon.
132132Now, you should verify that everything is going according to plan.
133133
134134``` shell-session
135- (vnojsite) $ python3 manage.py check
135+ (vnojsite) $ ./ manage.py check
136136```
137137
138138At this point, you should attempt to run the server, and see if it all works.
139139
140140``` shell-session
141- (vnojsite) $ python3 manage.py runserver 0.0.0.0:8000
141+ (vnojsite) $ ./ manage.py runserver 0.0.0.0:8000
142142```
143143
144144You should Ctrl-C to exit after verifying.
@@ -149,7 +149,7 @@ We will set up a proper webserver using nginx and uWSGI soon.
149149You should also test to see if ` bridged ` runs.
150150
151151``` shell-session
152- (vnojsite) $ python3 manage.py runbridged
152+ (vnojsite) $ ./ manage.py runbridged
153153```
154154
155155If there are no errors after about 10 seconds, it probably works.
0 commit comments