Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Added step to install bower packages to README file

tranbenny6670cfb965ff
diff --git a/README.rst b/README.rst
index b2e274d30..c81514a7d 100644
--- a/README.rst
+++ b/README.rst
@@ -44,6 +44,7 @@ state.
$ git clone https://github.com/rolandgeider/wger.git
$ cd wger
$ pip install -r requirements.txt # or requirements_devel.txt to develop
+ $ python manage.py bower install
$ python start.py
# After the first run you can just use django's development server
diff --git a/requirements.txt b/requirements.txt
index 6d0945b8a..29f1299e0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,7 +15,7 @@ django_compressor
icalendar
django-bootstrap-breadcrumbs
sphinx
-django-sortedm2m
+django-sortedm2m
django-bower
# REST API
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 637d15429..c9cef18aa 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -86,10 +86,11 @@ INSTALLED_APPS = (
# CORS
'corsheaders',
- #django-bower JS libraries automation
+ # django-bower for installing bower packages
'djangobower',
)
+# added list of external libraries to be installed by bower
BOWER_INSTALLED_APPS = (
'jquery',
'bootstrap',
@@ -158,6 +159,7 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
+ # added BowerFinder to list of static file finders
'djangobower.finders.BowerFinder',
# Django compressor
@@ -300,7 +302,6 @@ COMPRESS_ROOT = STATIC_ROOT
# BOWER components route
BOWER_COMPONENTS_ROUTE = os.path.join(STATIC_ROOT, 'components')
-
#
# Django Rest Framework
#