currentfeature/docs
Last change
on this file since f713dbc 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
|
Rev | Line | |
---|
[2d2898b] | 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 | |
---|
[f713dbc] | 11 | # Activate the virtual env |
---|
[2d2898b] | 12 | . ${env_path}/bin/activate |
---|
[f713dbc] | 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 |
---|
[2d2898b] | 19 | pserve --reload development.ini |
---|
Note: See
TracBrowser
for help on using the repository browser.