diff --git a/.gitignore b/.gitignore index bd70dc3..c7d7e12 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/ pgaweb/settings_local.py *.pyc +static/css/pgaweb.css diff --git a/README.md b/README.md index f6ca619..74d653d 100644 --- a/README.md +++ b/README.md @@ -63,5 +63,7 @@ popd # Start the application ```bash -./manage.py runserver +cd static + +yarn start ``` diff --git a/pgaweb/settings.py b/pgaweb/settings.py index 2ad99c9..dec0ad0 100644 --- a/pgaweb/settings.py +++ b/pgaweb/settings.py @@ -46,6 +46,7 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'sass_processor', 'download', 'faq', 'news', @@ -123,5 +124,7 @@ USE_TZ = True STATIC_URL = '/static/' STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),) +STATIC_ROOT = '/static/' + # Load local settings overrides from settings_local import * diff --git a/pgaweb/templates/pgaweb/base.html b/pgaweb/templates/pgaweb/base.html index f5ea6a6..e25c828 100755 --- a/pgaweb/templates/pgaweb/base.html +++ b/pgaweb/templates/pgaweb/base.html @@ -1,4 +1,6 @@ {% load staticfiles %} +{% load sass_tags %} +
@@ -15,7 +17,8 @@ - +{# #} +