Directory for Rocky Horror Picture Show casts
First we should install the app requirements and copy the env file. I recommend always installing into a virtual environment.
pip install -r requirements.txt
cp .env.sample .env
The app uses a Postgres backend. To run locally, you'll need to create a rocky database and owner.
CREATE USER rocky;
CREATE DATABASE rocky OWNER rocky;
You'll also need to enable some extensions.
CREATE EXTENSION pg_trgm;
Now that the database is set up, run the app migrations to deploy all of the models to the database.
./manage.py migrate
Finally, the server should be able to start on localhost:8000
./manage.py runserver
git push heroku master