Please enable JavaScript in your browser!
Sākums
Izpētīt
Palīdzība
Pierakstīties
sagaracharya
/
teaser
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Izmaiņu pieprasījumi
0
Vikivietne
Atzars:
master
Atzari
Tagi
master
teaser
/
flask_python_site
sagaracharya
5e039115e5
moved repo to notabug
4 gadi atpakaļ
..
templates
5e039115e5
moved repo to notabug
4 gadi atpakaļ
README
5e039115e5
moved repo to notabug
4 gadi atpakaļ
Technical Test.docx
5e039115e5
moved repo to notabug
4 gadi atpakaļ
flaskPage.py
5e039115e5
moved repo to notabug
4 gadi atpakaļ
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