Skip to content

srinivasb07/Flask_Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Flask Project

Please ensure that MySQL and its development libraries are installed.

And Suggesting to use Virtual Environment.

$pip install virtualenv $virtualenv venv $venv\Scripts\activate

Expecting venv to be parallel to app folder.

Install thre required plugins using below comand

pip install -r requirements.txt

Update config.py with mysql database configuration details. (Make sure specified database is already created)

Run Below to create/migrate schema.

$python db.py db init

$python db.py db migrate

$python db.py db upgrade

Run below to start the Server

$python run.py

Configured to run on localhost @ 5000. So, access to http://localhost:5000/User (Supports: GET,POST,PUT)

About

Sample Flask Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages