-
Fork the repository and clone it locally
-
Install pip
-
Install virtualenv
-
Install docker
-
Pull MongoDB using
docker pull mongod
. -
Create mongo instance using
docker run --name mongo -p 27017:27017 -d mongo
-
Create virtual environment using
virtualenv env
and then activate it usingsource env/bin/activate
-
Install dependencies using
pip install -r requirements.txt
-
deactivate virtual environment by using
deactivate
-
Create a file named .env and write
source env/bin/activate
export APP_SETTINGS="config.DevelopmentConfig"
-
Build your corresponding .bashrc or .zshrc file using
source ~/.zshrc
if using zsh
or
source ~/.bashrc
if using bashNow everytime you cd into this folder automatically the settings will be applied
-
Reactivate your virtualenv using
source env/bin/activate
-
Create your branch:
git checkout -b my-new-feature
-
Commit your changes:
git commit -m 'Add some feature'
-
Push to the branch:
git push origin my-new-feature
-
Send a Pull Request
-
Enjoy!