Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add path to local bower binary

Roland Geider42cb2a21c9ba
diff --git a/wger/settings_global.py b/wger/settings_global.py
index c9cef18aa..7865ca5dc 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -87,7 +87,7 @@ INSTALLED_APPS = (
'corsheaders',
# django-bower for installing bower packages
- 'djangobower',
+ 'djangobower',
)
# added list of external libraries to be installed by bower
@@ -97,7 +97,7 @@ BOWER_INSTALLED_APPS = (
'jquery-ui',
'bootstrap-datepicker',
'd3',
- 'shariff',
+ 'shariff',
'tinymce-dist',
'DataTables',
)
@@ -301,6 +301,7 @@ COMPRESS_ROOT = STATIC_ROOT
# BOWER components route
BOWER_COMPONENTS_ROUTE = os.path.join(STATIC_ROOT, 'components')
+BOWER_PATH = os.path.join(BASE_DIR, 'node_modules', '.bin', 'bower')
#
# Django Rest Framework