Skip to content

A full school management website using flask. Full CRUD( create, read, update, delete ) facility

Notifications You must be signed in to change notification settings

mr-teslaa/TaqwaSchool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Junior School and College

A full school management website using flask. Full CRUD( create, read, update, delete ) facility

How to work in this project

$ git clone https://github.com/mr-teslaa/Junior_School_and_College

How to run this flask app

Windows

> set FLASK_APP=run.py
> set FLASK_ENV=development
> flask run

Mac and Linux

$ export FLASK_APP=run.py
$ export FLASK_ENV=development
$ flask run

NEW

create .env file with keys. create .flaskenv file with FLASK_ENV, FLASK_APP as shown above. Alse FLASK_DEBUG=...

To setup a new database run: $ flask create_tables

This creates all tables in database site.db (conform db-url) with 3 Users records