Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Path of node modules folder changed

Roland Geider849fba1754e4
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 241613017..6f3a1903d 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -10,8 +10,8 @@ Upgrade steps from 1.7:
* Django update to 1.9: ``pip install -r requirements.txt``
* Database upgrade: ``python manage.py migrate``
* Reset workout cache: ``python manage.py clear-cache --clear-workout-cache``
-* Download new JS packages: ``python manage.py bower install`` (note that you
- might have to delete first wger/core/static/bower_components)
+* Due to changes in the JS package management, you have to delete
+ wger/core/static/bower_components and do a ``python manage.py bower install``
* Update static files (only production): ``python manage.py collectstatic``
* Load new the languages fixtures as well as their configuration
``python manage.py loaddata languages`` and
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 728ad03b6..637b0f509 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -326,9 +326,9 @@ COMPRESS_ROOT = STATIC_ROOT
# BOWER binary
if sys.platform.startswith('win32'):
- BOWER_PATH = os.path.join(BASE_DIR, 'node_modules', '.bin', 'bower.cmd')
+ BOWER_PATH = os.path.join('node_modules', '.bin', 'bower.cmd')
else:
- BOWER_PATH = os.path.join(BASE_DIR, 'node_modules', '.bin', 'bower')
+ BOWER_PATH = os.path.join('node_modules', '.bin', 'bower')
#
# Django Rest Framework