Skip to content

TRUSTMEIMJEDI/YoutubeFlaskApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Marcin Friedrich

Resetting the database

If you delete the yt.sqlite file or simply want to reset your database to an empty state, you can enter the following commands in your Python console.

>>> from rest_api.app import initialize_app, app
>>> from rest_api.database import reset_database
>>>
>>> initialize_app(app)
>>> with app.app_context():
...     reset_database()

Setting up the application

$ git clone https://github.com/TRUSTMEIMJEDI/YoutubeFlaskApi
$ cd YoutubeFlaskApi

$ virtualenv -p `which python3` venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt

(venv) $ python setup.py develop
(venv) $ python rest_api/app.py

About

Youtube REST API in python flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages