This API runs jobs such as generating CSV files or doing substructure and blast searches.
python version: 3.7 You must create a configuration file and set its path to CONFIG_FILE_PATH. For examples, see the configurations folder.
pip install -r requirements.txt
CONFIG_FILE_PATH=<Path to your configuration file> FLASK_APP=appflask run
Open http://127.0.0.1:5000/ in your browser
find . -iname "*.py" | xargs pylint
python -m unittest
- Start a server locally
pushd app/functional_tests
./run_functional_tests.py
popd
- Stop the server
This app can be run completely using Docker and docker-compose. First, you need to create a file called 'config.yml' with the app configuration. See the configurations folder for examples.
To run the development version of the app:
docker-compose up delayed-jobs-server-dev
To run the production version of the app:
docker-compose up delayed-jobs-server-prod