Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Elliot Oram edited this page Jun 8, 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

Some services must be started in order to be able to use them. In particular this is true for activemq and the QueueProcessors

python setup.py start

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

python setup.py start -s list,of,services
Clone this wiki locally