Running the ToO MarshalΒΆ

Use the growth-too command line tool for starting and managing the ToO Marshal. The growth-too tool has a number of subcommands. The table below is a quick guide to the most useful commands for development and testing.

Task

Command line

Web application

Run web app

growth-too run --with-threads

Run web app (debugger enabled)

FLASK_ENV=development growth-too run --with-threads

Database

Initialize database

growth-too db create

Initialize database, populate with example events

growth-too db create --sample

Wipe database

growth-too db drop

Wipe database, then initialize again

growth-too db recreate

Background processing

Run Celery worker

growth-too celery worker --loglevel info

Run GCN listener

growth-too gcn

Run periodic task scheduler

growth-too celery beat

Run Flower console

growth-too celery flower

Admin

Enter Python console

growth-too shell

Add user/password

growth-too passwd