The final project for IS 403 Fall 2021 group 1-15.
Authors: Kalvin Wettstein, Zachary Heaton, Stephen Williams, Spencer Jackson.
A basic CRUD app with PostgreSQL DB, python/django, and HTML/CSS. Deployed on Heroku
Steps to get set up:
- Clone Repository
- In Pgadmin create a "crud_movie" database
- In Pgadmin run the sql script found in the "db" folder to create your tables and insert some data
- In the root directory create a a file called ".env" that has the following: (see @kalvinbw or slack for the secret key)
DB_PASSWORD={yourPostgresPassword}
SECRET_KEY={theSecretKey}
- Create a virtual env if you want and start it
- Run the following (on windows replace psycopg2-binary with psycopg)
pip install django psycopg2-binary pillow requests dj-database-url django-heroku gunicorn whitenoise python-dotenv
- Run this to create a login
python manage.py createsuperuser
- Run this to start server
python manage.py runserver
- Visit the homepage to see the site