Skip to content

A lottery drawing application that randomly draws numbers from 1 to 99, and displays them on a table.

License

Notifications You must be signed in to change notification settings

ericdaat/lottery

Repository files navigation

Lottery Drawing

A lottery drawing application that randomly draws numbers from 1 to 99, and displays them on a table.

alt

Install

Create a virtual environment and install the requirements.

source venv/bin/activate
pip install -r requirements.txt

Run

Init the database and run the application.

export FLASK_APP="application.app"
export FLASK_DEBUG=True
export DATABASE_URL=sqlite:https:///../db.sqlite3
flask init-db
flask run