TBD
First of all ensure you have all prerequisites:
- Python >=3.5
- Virtual Environment tool (virtualenv)
Then follow procedure described below to prepare environment for development:
- Checkout git repository:
git clone https://github.com/JointBox/jointbox.git
. Open terminal and change dir to the project root. - Create virtual environment:
virtualenv virtualenv
. Activate it:source ./virtualenv/bin/activate
- Install development requirements:
pip install -r requirements.txt
- Configure hooks:
cd .git/hooks && ln -s ../../development/pre-commit-hook.sh pre-commit && cd ../..
- Install application as a package in dev mode:
cd src && ./setup.py sdist
- Validate your setup:
- Check if
jointbox
andjointboxd
executables are in the context - Run
jointbox -h
and insure that output doesn't contain exceptions
- Check if
Ensure that all python sources contain license notice:
./development/copyright-update
In order to run suplementary services under docker you may use predefined docker-compose config:
cd ./development/docker docker-compose up -d