Skip to content

Small Flask, SQLite3, Bootstrap application that collected the submissions for ACE's Hacker Movie Still-Frame Trivia

License

Notifications You must be signed in to change notification settings

LaTechACE/trivia

Repository files navigation

trivia

Small Flask, SQLite3, Bootstrap application that collected the submissions for ACE's Hacker Movie Still-Frame Trivia

Development Installation Instructions

git clone [email protected]:LaTechACE/trivia.git
cd trivia
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
cp trivia.config.default trivia.config
nano trivia.config
export FLASK_APP=trivia
flask initdb
  1. Clone Git Repository
  2. Move into Application Directory
  3. Create Virtualenv
  4. Activate Virtualenv
  5. Install Application Dependencies
  6. Copy the default configuration to your own file
  7. Modify the copy of the default configuration
    • database: The Database file to store submissions
    • secret_key: Key to secure Admin authentication
    • admin_user: Username to log in to the Admin page
    • admin_pass: Password to log in to the Admin page
  8. Export FLASK_APP variable for flask command
  9. Initialize the Database

Development Execution Instructions

export FLASK_APP=trivia
export FLASK_DEBUG=1
flask run
  1. Export FLASK_APP variable with application name
  2. Export FLASK_DEBUG variable to turn debug on
  3. Run the app with flask

About

Small Flask, SQLite3, Bootstrap application that collected the submissions for ACE's Hacker Movie Still-Frame Trivia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published