- Clone the project
- Go into the project directory
- From the terminal, init a virtualenv
virtualenv -p python3.6 env
(This will create a virtual env with python3.6 included) - Run
pip install -r requirements.txt
to install dependencies.
If you need to edit or run the project, run the following command to activate the virtual env again:
source env/bin/activate
Before you use newer packages:
- Run tests
- Make sure the
requirements.txt
is updated
Tips:
pipreqs .
generates requirements based of project filespip freeze
shows current installed packages in your virtualenv
- Make sure
python3.6-dev
is installed with your OS package manager.