Skip to content

CuriousLearner/nexus

Repository files navigation

nexus

codecov

Version: 0.0.0

Streamline & automate the boring parts

Getting up and running

Minimum requirements: pip, fabric, python3, redis & postgres, setup is tested on Mac OSX only.

brew install postgres python3
[sudo] pip install fabric

In your terminal, type or copy-paste the following:

git clone [email protected]:CuriousLearner/nexus-web.git; cd nexus-web; fab init

Go grab a cup of coffee, we bake your hot development machine.

Useful commands:

  • fab serve - start django server
  • fab deploy_docs - deploy docs to server
  • fab test - run the test locally with ipdb

NOTE: Checkout fabfile.py for all the options available and what/how they do it.

Deploying Project

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.

How to release nexus

Execute the following commands:

git checkout master
fab test
bumpversion 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

Contributing

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