0xar1 / myHealth9

mmm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebApp

To install the requirments:

pip3 install -r requirements.txt

To run the project:

python3 main.py

OR to run using flask run, On Windows:

SET FLASK_APP=main.py
##for development purpose add SET FLASK_DEBUG=TRUE
flask run

On Linux:

EXPORT FLASK_APP=main.py
##for development purpose add EXPORT FLASK_DEBUG=TRUE
flask run

Viewing The App

Go to http://127.0.0.1:5000

After making changes in the db

##only first flask db init
flask db migrate -m "Changed"
flask db upgrade 
flask db downgrade

SQLAlchemy add to db

##only first flask db init
a = User(email='a@mail.com',password='123')
db.session.add(a)
db.session.commit()

About

mmm

License:MIT License


Languages

Language:CSS 86.0%Language:HTML 8.1%Language:SCSS 3.3%Language:JavaScript 1.3%Language:Python 1.2%Language:Mako 0.0%Language:Batchfile 0.0%