- Install dependencies
pip install -r requirements.txt
- Run server (
app.py
)
This is going to populate a test database with some mock data. The server must be listening on port
5000
.
FLASK_ENV=development FLASK_APP=app flask run
$ Running on http://127.0.0.1:5000
- Use CLI to purchase tickets (
cli.py
)
python3 cli.py
- The output should look like this: