Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Anders Markvardsen edited this page Aug 10, 2020 · 22 revisions

Help

To display the help section for the setup.py

python setup.py help

Migrate test settings

In order to use the test settings to access localhost services for the project the test_settings.py files must be moved to settings.py.

Note: This will overwrite all your settings.py files

python setup.py test_settings

Install external programs

Open the build/settings.py file and alter the file paths to where you want the external programs to be installed on your operating system. Ensure you change the correct settings for your operating system.

python setup.py externals

You can optionally choose to only install a selection of services using the -s argument.

python setup.py externals -s list,of,services

Database Setup

This is only required if you are creating a local database for testing (only required for database development)

The mysql installation needs to be callable/available from the command prompt you are using, and the mysql service needs to be running.

If you're mysql installation requires a password to log into root then you can supply this in the build/settings.py file as the DB_ROOT_PASSWORD variable.

python setup.py database

Start services

To start activemq do

python setup.py start

To start the Queue Processors please see https://github.com/ISISScientificComputing/autoreduce/tree/master/queue_processors.

Clone this wiki locally