python app.py
- Clone the repository.
- Install virtualenv:
(sudo) pip install virtualenv
(sudo if required). cd <repository-path>
virtualenv venv -p python2.7
source venv/bin/activate
pip install -r requirements.txt
- Activate virtual environment:
source venv/bin/activate
git checkout master
git pull
- Create a new working branch:
git checkout -tb <new-working-branch-name>
.
- cd into project's root directory and run
./lint.sh
. It should fix most linting errors. - Run
./test.sh
. - If everything passes, push your changes.
- Make sure you are in the new branch you created. You can check the current working branch using
git branch
. git add .
git commit -m "<commit-message>"
git push origin <branch-name>
- If the CI build passes, create a pull request.
pip freeze > requirements.txt