Commit 91747050 authored by Zachary Seguin's avatar Zachary Seguin

Update readme

parent ea7b9898
......@@ -14,23 +14,23 @@ A set of components to receive, process and display alerts issued through Pelmor
1. Copy `secrets.py.dist` to `secrets.py`
2. Modify the configuration, as appropriate for your environment
3. Initialize the database
a. `python ac.py database create`
- `python ac.py database create`
## Receiving and Processing Alerts
To receive alerts from the NAAD system:
1. Start the alert listener
a. `python ac.py listen`
- `python ac.py listen`
2. Start the Celery task processor
a. `python ac.py celery worker` (alert processing)
b. `python ac.py celery fetcher` (fetch alerts from URL)
c. `python ac.py celery beat` (schedule tasks)
- `python ac.py celery worker` (alert processing)
- `python ac.py celery fetcher` (fetch alerts from URL)
- `python ac.py celery beat` (schedule tasks)
## Displaying Alerts
Flask includes a development server. It is not recommended to use this server in production.
1. Start the web server
a. `python ac.py runserver`
- `python ac.py runserver`
2. Connect to [http://localhost:5000](http://localhost:5000)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment