- Create a parent folder for this repo.
mkdir template_trunk
- initialize it as a virtual environment.
virtualenv --python=python3 template_trunk
- navigate into parent
cd template_trunk
- clone the repo:
git clone git@github.com:ianliu-johnston/template.git
- navigate into repo:
cd template
- activate the virtual env:
source ../bin/activate
- link the activate script here.
ln -s ../bin/activate .
- change "template" to your program name in setup.py
- install pip requirements:
pip install -r requirements.txt
- Setup pytest:
pip install -e .
- Setup precommit hooks