Skip to content

ouchakovpeter/Movie_Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLite Databse with Python + Flask Interface project built for Database Class

TO RUN:

  1. .\env\Scripts\Activate - Initiates the environment & libraries
  2. (optional) del movies.db - Deletes the database. It will automatically fill up with some movie information, you can delete if you want a fresh restart
  3. python app.py - Runs the webapp
  4. you can interact with the webapp by visiting localhost:5000 or following the link in the terminal. you can use any browser.

Database file: movies.db Location: project root directory (same folder as app.py)

To open manually: sqlite3 movies.db

The database is auto-generated by running: python init_db.py (or automatically on first launch of app.py)

sample movie data is loaded from sample_data.sql

About

SQLite Databse with Python + Flask Interface project built for Database Class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors