Skip to content

AlexeyDer/videoLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoLib

Image Image Image

This is example of Flask web-application which use Flask_Admin Panel for work with mysql using ORM SqlAlchemy.

Installing

Before running the server, you must install Flask and pybadges. You can install both with:

pip install -r requirements.txt
  • And you need to run command in run.sql file to create data base and tables with Data.
  • Also need to write you database pass in config.py to connect it"

Running

To run the server, you must set the FLASK_APP environment variable before running the server using Flask:

export FLASK_APP=main.py
flask run

If it not work try this

source venv/bin/activate
flask run

After this step, you can view your badge on https://127.0.0.1:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published