Version: 0.1.0-dev
Web Backend for Deepositive App
Minimum requirements: pip, fabric & postgres, setup is tested on Mac OSX only.
brew install postgres
[sudo] pip install fabric
In your terminal, type or copy-paste the following:
git clone [email protected]:aniketmaithani/workshop-web.git; cd workshop-web; fab init
Go grab a cup of coffee, we bake your hot development machine.
Useful commands:
fab serve
- start django serverfab deploy_docs
- deploy docs to serverfab test
- run the test locally with ipdb
NOTE: Checkout fabfile.py
for all the options available and what/how they do it.
The deployment are managed via travis, but for the first time you'll need to set the configuration values on each of the server.
Check out detailed server setup instruction here.
Execute the following commands:
git checkout master
fab test
bumpversion release
bumpversion --no-tag patch # 'patch' can be replaced with 'minor' or 'major'
git push origin master
git push origin master --tags
git checkout qa
git rebase master
git push origin qa
Golden Rule:
Anything in master is always deployable.
Avoid working on master
branch, create a new branch with meaningful name, send pull request asap. Be vocal!
Refer to CONTRIBUTING.md