currentfeature/docs
Last change
on this file since 7f335a4 was
f713dbc,
checked in by Borja Lopez <borja@…>, 5 years ago
|
The bin/start helper runs pip and js_deps to ensure all python and js
dependencies are up-to-date.
|
-
Property mode set to
100755
|
File size:
483 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # Script to start OpenWorkouts |
---|
4 | # |
---|
5 | |
---|
6 | # Full path to where we run the script from |
---|
7 | current=`pwd` |
---|
8 | # Full path to the env |
---|
9 | env_path=${current}/env |
---|
10 | |
---|
11 | # Activate the virtual env |
---|
12 | . ${env_path}/bin/activate |
---|
13 | |
---|
14 | # Now ensure all python and js packages are up-to-date |
---|
15 | yes | pip install --upgrade -e ${current}[testing] > /tmp/ow-start.stdout 2> /tmp/ow-start.stderr |
---|
16 | ./bin/js_deps > /tmp/ow-start.stdout 2> /tmp/ow-start.stderr |
---|
17 | |
---|
18 | # And finally run the server |
---|
19 | pserve --reload development.ini |
---|
Note: See
TracBrowser
for help on using the repository browser.