-
Notifications
You must be signed in to change notification settings - Fork 4
Setup
To display the help section for the setup.py
python setup.py help
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
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
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
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