mirror of https://github.com/snachodog/mybuddy.git
Add static files dirs including gulp's destination folder.
This commit is contained in:
parent
3545265d02
commit
68d2e7f37c
|
@ -15,7 +15,6 @@ python manage.py migrate
|
||||||
python manage.py createsuperuser
|
python manage.py createsuperuser
|
||||||
npm install
|
npm install
|
||||||
gulp build
|
gulp build
|
||||||
python manage.py collectstatic
|
|
||||||
python manage.py runserver
|
python manage.py runserver
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -108,6 +108,10 @@ STATIC_URL = '/static/'
|
||||||
|
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||||
|
|
||||||
|
STATICFILES_DIRS = [
|
||||||
|
os.path.join(BASE_DIR, 'babybuddy/static'),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# Django Rest Framework
|
# Django Rest Framework
|
||||||
# http://www.django-rest-framework.org/#
|
# http://www.django-rest-framework.org/#
|
||||||
|
|
Loading…
Reference in New Issue