Self hosted FLOSS fitness/workout, nutrition and weight tracker
No need to change working directoty
Roland Geider58d3363ebdcd
diff --git a/wger/settings_global.py b/wger/settings_global.pyindex ea5b52119..74579997c 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -331,9 +331,9 @@ COMPRESS_ROOT = STATIC_ROOT# BOWER binaryif sys.platform.startswith('win32'):- BOWER_PATH = os.path.join('node_modules', '.bin', 'bower.cmd')+ BOWER_PATH = os.path.abspath(os.path.join(BASE_DIR, '..', 'node_modules', '.bin', 'bower.cmd'))else:- BOWER_PATH = os.path.join('node_modules', '.bin', 'bower')+ BOWER_PATH = os.path.abspath(os.path.join(BASE_DIR, '..', 'node_modules', '.bin', 'bower'))## Django Rest Frameworkdiff --git a/wger/tasks.py b/wger/tasks.pyindex 9f33d8c60..f1d501553 100644--- a/wger/tasks.py+++ b/wger/tasks.py@@ -117,7 +117,6 @@ def bootstrap(context,create_or_reset_admin(context, settings_path=settings_path)# Download JS libraries with bower- os.chdir(os.path.dirname(os.path.abspath(__file__)))context.run('npm install bower')call_command('bower', 'install')