You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is using [Django(1.7.6)](https://www.djangoproject.com/) and [Bootstrap](http://getbootstrap.com/).
10
+
This is using [Django(1.11)](https://www.djangoproject.com/) and [Bootstrap](http://getbootstrap.com/).
11
11
Feel free to suggest a better design.
12
12
13
13
@@ -31,24 +31,18 @@ to install everything required to run this project on heroku as well as on your
31
31
cd oshc
32
32
```
33
33
34
-
3. Syncdb
35
-
34
+
3. Collectstatic files using
36
35
```
37
-
python manage.py syncdb
36
+
python manage.py collectstatic
38
37
```
39
38
40
-
4. Change path to static files in settings.py
41
-
42
-
Right now this file is having path of my local. Just change the machine's username to your own.
43
-
44
-
```
45
-
STATICFILES_DIRS = ()
46
-
```
47
39
4. Run the app
48
40
```
49
41
python manage.py runserver
50
42
```
51
43
44
+
To run the web app in Debug mode set the DEBUG environment variable.
45
+
In Linux, run the `export DEBUG=True` command in the terminal.
52
46
53
47
To deploy on heroku clone the code present in [heroku branch](https://github.com/OpenSourceHelpCommunity/OpenSourceHelpCommunity.github.io/tree/heroku).
0 commit comments