Opened 5 years ago
Closed 5 years ago
#41 closed task (fixed)
Write helper scripts...
Reported by: | borja | Owned by: | borja |
---|---|---|---|
Priority: | major | Milestone: | OpenWorkouts 0.1 |
Component: | infraestructure | Keywords: | |
Cc: |
Description
... so new developers can set up an environment quickly.
install script:
Requirements/workflow idea:
- developer grabs copy of the repo (either darcs or git)
- developer gives exec permission to the bin/install script
- developer exec ./bin/install within the repo:
3.1. ./bin/install PATH <- this installs everything in the given path
3.2. ./bin/install <- this installs everything in the user home, ~/openworkouts
The steps the installer has to go through:
- check python3 is installed
- create virtual env
- activate virtual env
- pip install --upgrade setuptools pip
- pip install --upgrade --process-dependency-links -e .[testing]
- chmod +x bin/js_deps bin/start bin/stop
- ./bin/js_deps
- show a message telling the user how to start/stop/restart the services
start/stop/restart
Basically, start will run pserve --reload development.ini, stop will kill that process, restart calls stop, then start.
Change History (2)
comment:1 Changed 5 years ago by borja
- Owner set to borja
- Status changed from new to accepted
comment:2 Changed 5 years ago by borja
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
Install script implemented here: [30/OpenWorkouts-current] (look at the patch message to get more info on how to use it)
Start script implemented here: [31/OpenWorkouts-current]