Please enable JavaScript in your browser!
Accueil
Explorer
Aide
Connexion
sagaracharya
/
teaser
Suivre
1
Voter
0
Fork
0
Fichiers
Tickets
0
Pull Requests
0
Wiki
Branche:
master
Branches
Tags
master
teaser
/
flask_python_site
sagaracharya
5e039115e5
moved repo to notabug
il y a 4 ans
..
templates
5e039115e5
moved repo to notabug
il y a 4 ans
README
5e039115e5
moved repo to notabug
il y a 4 ans
Technical Test.docx
5e039115e5
moved repo to notabug
il y a 4 ans
flaskPage.py
5e039115e5
moved repo to notabug
il y a 4 ans
README
Steps to run the site (a simple sample site)
1. Install Flask
On a terminal, execute
pip3 install flask
2. Ensure directory structure (html file in templates)
flaskpage.py
templates |_ stat.html
|_ webpage.html
3. Create FLASK_APP variable
On a terminal, execute,
export FLASK_APP=flaskPage.py
4. Final Step
flask run