JagerEye is a large distributed scale video analysis framework.
The following packages are required before installation
- docker>=17.09.0
- nvidia-docker2
- docker-compose>=1.19.0
- python>=3.5
- pip3
- Clone the project and go to the directory.
git clone https://github.com/weitingchou/jagereye_ng
cd jagereye_ng
- Export environment variables.
# The root directory of the project.
export JAGERROOT=$(pwd)
# The mode to build JagerEye, it can be 'development' or 'production'
export JAGERENV=development
# Path to the binary folder.
export PATH=$JAGERROOT/bin:$PATH
- Install the dependencies for building services.
pip3 install -r deploy/requirements.txt
- Build the base docker images for services.
jager build servicebase
- Build the base docker images for applications.
jager build appbase
- Build the docker images for services and applications.
# You can also build services and applications separately by running
# 'jager build services' and 'jager build apps'.
jager build all
- Now, we can start running applications and services.
# You can also start services and applications separately by running
# 'jager start services' and 'jager start apps'.
jager start all
-
Follow Google Python Style Guide.
-
To learn how to write docstrings, Example Google Style Python Docstrings is a good example.
TODO