Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.34 KB

hacking.md

File metadata and controls

52 lines (29 loc) · 1.34 KB

Components

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.

Dependencies

The required python package are listed in environment.yml file.

Set-up with conda

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.

Running the 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