Modele required to run server:
pip3 install flask flask_sqlalchemy datetime
Open you terminal or commandline in the flask-youtube folder:
-
Get to know python verssion
python3 --version or -v
orpython --version
. -
run command
python3
, otherwisepython
if you are using any python2 version.
Database init:
from run import db
db.create_all()
Start server:
python3 run.py
- Your website is live now, get coffe with your friends and having fun.