Please enable JavaScript in your browser!
Startsida
Utforska
Hjälp
Logga in
sagaracharya
/
teaser
Bevaka
1
Stjärnmärk
0
Fork
0
Filer
Ärenden
0
Pull-förfrågningar
0
Wiki
Gren:
master
Grenar
Taggar
master
teaser
/
flask_python_site
sagaracharya
5e039115e5
moved repo to notabug
4 år sedan
..
templates
5e039115e5
moved repo to notabug
4 år sedan
README
5e039115e5
moved repo to notabug
4 år sedan
Technical Test.docx
5e039115e5
moved repo to notabug
4 år sedan
flaskPage.py
5e039115e5
moved repo to notabug
4 år sedan
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