Skip to content

themadprofessor/deal-or-no-deal

Repository files navigation

Deal or No Deal

Student deal voting site

Requirements

  • Python 3
  • PiP

Automatic Setup

Run either setup.bat or setup.sh to setup environment and database. The scripts create a virtual environment with the name venv, which must be activated manually before the server is started. Both scripts make the assumption python is Python 3.

Manual Setup

Create a virtual environment:
python -m venv venv_name
Active the virtual environment
venv_name\Scripts\activate.bat

or

source venv_name/bin/activate
Install dependencies
pip install -r requirements.txt
Setup and populate database
python manage.py makemigrations dondapp
python manage.py makemigrations
python manage.py
python populate_script.py

Running server

Ensure your virtual environment is activated, then

python manage.py runserver

Then the server can be accessed at http://127.0.0.1:8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published