This website works better with JavaScript.
Home
Help
Sign In
ben
/
calefaction
mirror of
https://github.com/earwig/calefaction
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
Use 'flask run' instead of './app'.
master
Ben Kurtovic
8 years ago
parent
8dd4e6c7f1
commit
9d0eadc35f
2 changed files
with
4 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
README.md
+0
-3
app.py
+ 4
- 2
README.md
View File
@@ -27,8 +27,10 @@ Guide
### Test
./app.py
# go to http://localhost:8080
export FLASK_APP=`pwd`/app.py
export FLASK_DEBUG=1
flask run
# go to http://localhost:5000
### Deploy
+ 0
- 3
app.py
View File
@@ -100,6 +100,3 @@ def set_style(style):
def page_not_found(err):
"""Render and return the 404 error template."""
return render_template("404.mako"), 404
if __name__ == "__main__":
app.run(debug=True, port=8080)
Write
Preview
Loading…
Cancel
Save