- Create a folder to keep env and clone of the repo.
- Go in the repo and setup virtualenvironment using
virtualenv -p python3.7 env
- Then activate the environment using
env source/bin/activate
- After that clone your fork in the same folder.
- Go in the main directory of the project and do the following to setup project
pip install -r requirements.txt
pre-commit install
- This will setup the project requirements and pre-commit test hooks!
- If you are adding any new requirements for the project, make sure that you are adding it to
requirements.txt
your-folder
|-env
|-slack-bots
|-requirements.txt
|-.pre-commit-config.yml