*Author note: `Colon D` is typed as :D
This project is developed in flask and coded in python. Includes basic authentication that stores in the database. Password is hashed for safety. Movie and director database is adopted from https://www.imdb.com/interfaces/ . All posters from the movies are gotten from a webscraper looking for images in Google Images, and saved as cache.
Available in jasoncoding.com/colond !
- Clone project and login
git clone https://github.com/nakamarusun/colon-d-movie-review.git
cd colon-d-movie-review
- Create a virtual environment for Python 3 (Google if don't know :( )
python -m venv venv
- Activate the virtual environment, and install libs
venv/Scripts/activate
pip install -r requirements.txt
- Make environment variable for flask app Windows:
set FLASK_APP=ColonD
Linux / Mac:
export FLASK_APP=ColonD
- Copy and rename conf.json_template to conf.json and configure it by yourself
- Create the database and tables using the command
flask init-db
- Run the flask project, and access using http://127.0.0.1:5000/
flask run
wsgi.py is already made for the server, just have to select it in the server configuration page.