Please enable JavaScript in your browser!
Strona główna
Odkrywaj
Pomoc
Zaloguj się
sagaracharya
/
teaser
Obserwuj
1
Polub
0
Forkuj
0
Pliki
Problemy
0
Oczekujące zmiany
0
Wiki
Gałąź:
master
Gałęzie
Tagi
master
teaser
/
flask_python_site
sagaracharya
5e039115e5
moved repo to notabug
4 lat temu
..
templates
5e039115e5
moved repo to notabug
4 lat temu
README
5e039115e5
moved repo to notabug
4 lat temu
Technical Test.docx
5e039115e5
moved repo to notabug
4 lat temu
flaskPage.py
5e039115e5
moved repo to notabug
4 lat temu
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