Please enable JavaScript in your browser!
Home
Explore
Help
Sign In
sagaracharya
/
teaser
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Branch:
master
Branches
Tags
master
teaser
/
flask_python_site
sagaracharya
5e039115e5
moved repo to notabug
4 years ago
..
templates
5e039115e5
moved repo to notabug
4 years ago
README
5e039115e5
moved repo to notabug
4 years ago
Technical Test.docx
5e039115e5
moved repo to notabug
4 years ago
flaskPage.py
5e039115e5
moved repo to notabug
4 years ago
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