Skip to content

This repo explores building yahtzee as a single page web application using Flask and supporting toolsets.

License

Notifications You must be signed in to change notification settings

pmacking/tutorial-flask-app

Repository files navigation

Tutorial Flask App

Description

This repo explored building a single page web application using Flask, SQLAlchemy, SQLite, Pillow, NGINX, and Gunicorn.

Original intent was to build a yahtzee web application, but this repo pivoted to a basic application given the scope of learning fundamentals of Flask.

How to Clone and Build

Download/clone repo, create/activate virtual environment for your own sanity, ensure you're on python3.8, "pip install -r requirements.txt" to install dependencies.

Set environment variables with export FLASK_ENV=development, SECRET_KEY='SOME_SECRET_KEY', EMAIL_USER='SOME_EMAIL', and EMAIL_PASSWORD='SOME_EMAIL_PASSWORD'.

Run "make db" to build db at ./data/yahtzee.db

Run "make run" to build app, access in browser at localhost:5000

About

This repo explores building yahtzee as a single page web application using Flask and supporting toolsets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published