Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Small fixes with bower components

Roland Geiderac5ef1f9dafb
diff --git a/README.rst b/README.rst
index 3eac7d94c..09b03547e 100644
--- a/README.rst
+++ b/README.rst
@@ -46,7 +46,6 @@ 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
$ invoke bootstrap_wger
# After the first run you can just use django's development server
diff --git a/docs/development.rst b/docs/development.rst
index 10d71e86f..8242b3ba6 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -20,7 +20,6 @@ and populate it with data on the first run::
$ git clone https://github.com/rolandgeider/wger.git
$ cd wger
- $ python manage.py bower install
$ invoke bootstrap_wger
That's it. You can log in with the default administator user:
diff --git a/docs/install.rst b/docs/install.rst
index f92ecfc19..1a8300418 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -111,8 +111,8 @@ Get the application::
cd wger
pip install -r requirements.txt
npm install bower
+ invoke create_settings --settings-path .
python manage.py bower install
- python extras/scripts/create_local_settings.py
Edit your ``settings.py`` file and set the database, ``SITE_URL``,
``STATIC_ROOT`` and ``MEDIA_ROOT``::
diff --git a/tasks.py b/tasks.py
index d3a1fbb20..076370a68 100644
--- a/tasks.py
+++ b/tasks.py
@@ -91,6 +91,9 @@ def bootstrap_wger(settings_path=None, database_path=None, address='localhost',
load_fixtures(settings_path=settings_path)
create_or_reset_admin(settings_path=settings_path)
+ # Download JS libraries with bower
+ call_command('bower', 'install')
+
# Start the webserver
print('*** Bootstraping complete, starting application')
start_wger(address=address, port=port, browser=browser, settings_path=settings_path)