The FragMAX webapp consists of following major components:
- Web Application
- Workers Threads
- Redis Server
- Jobs Manager
For details of each component see the Architecture description.
The required python package are listed in environment.yml
file.
Follow steps below to set-up an environments for running FragMAX webapp using conda.
-
use you prefered method for installing conda
-
clone this repository
git clone
-
create conda environment 'FragMAX'
conda env create -f /environment.yml
The conda environment 'FragMAX' will contain all required packages for FragMAX webapp.
To run FragMAX application the Web Application, Workers Threads, Redis Server and Jobs Manager components must be started. Each component runs in it's own separate process.
To start Redis Server activate 'FragMAX' environment and run:
redis-server
To start Workers Threads activate 'FragMAX' environment and run:
celery -A fragmax worker --loglevel=info
The '--loglevel' argument specifies log verbosity.
To start Jobs Manager activate 'FragMAX' environment and run:
./jobsd.py
To start Web Application activate 'FragMAX' environment and run:
./manage.py runserver