Release Version 0.5.0
- celery==4.1.0
- pymongo==3.6.0
- mongoengine==0.15.0
- falcon==1.4.1
- jsonschema==2.6.0
- PyJWT==1.6.0
- falcon-auth==1.1.0
- falcon-cors==1.1.7
- gevent==1.2.2
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
python3 -m venv venv
. venv/bin/activate
pip3 install -r worker-requirements.txt
Start web api server:
python3 web_api.py
Start celery worker:
python3 celery_worker.py
Celery worker configuration file: config/celery_config.json
source docker/start-rabbitmq.sh
Create volume:
docker volume create mongov
Run mongodb container:
source docker/start-mongo.sh
docker kill rabbitmq
docker kill mongo
Example scripts in examples directory.
For example create upload cifar10 dataset:
python3 examples/upload_cifar10.py
For example train neural network on cifar10 dataset:
python3 examples/train_cnn_cifar10.py
Install tests dependencies:
pip3 install -e .[testing]
Start unit tests by bash commands:
python3 setup.py test
Replace authentication key: config/auth.key
Replace certificates in config/celery_ssl and config/rabbitmq
Add users for rbbitmq: config/rabbitmq/rabbitmq.conf
Edit config files in config directory
Logs saved in logs directory.