A project to wake you up like in a hotel.
Setup Python and virtualenv
make environment
Install dependencies
make install
make test
Get your Twilio account sid, auth token, and trial number. Then create a .env
file at the root of this folder and fill it with Twilio's info and your verified number that will receive calls.
TWILIO_ACCOUNT_SID=L1joief...
TWILIO_AUTH_TOKEN=jo24Mfa...
TWILIO_FROM_NUMBER=+1222333444
TWILIO_TO_NUMBER=+1333444555
After that you should be good to go:
make run
Access the API docs on http://localhost:8001/docs
Generate migration files automatically for changes to models. Make sure all models are imported on models/__init__.py
make db_generate_migration description="your description"