Compare commits
3 commits
41c30fcdbb
...
52683f0d88
Author | SHA256 | Date | |
---|---|---|---|
52683f0d88 | |||
7bf20cff3b | |||
05ae5e67ea |
4 changed files with 23 additions and 1 deletions
10
app.sh
Executable file
10
app.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -eu
|
||||
|
||||
main() {
|
||||
cd site
|
||||
waitress-serve 'app.app' --port=8041 &
|
||||
}
|
||||
|
||||
main "$@"
|
|
@ -94,4 +94,4 @@ def todo():
|
|||
return render_template('todo.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host="0.0.0.0", port=8080)
|
||||
app.run(app=app, server="flask", host="0.0.0.0", port=8080)
|
||||
|
|
|
@ -114,4 +114,15 @@
|
|||
<img src="/static/{{ image }}" alt="{{ image }}" width="88" height="31">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
<h2>
|
||||
credits
|
||||
</h2>
|
||||
<p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://www.vantajs.com/">Vanta.js</a> - background effect
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</body>
|
||||
|
|
1
site/visitorCount.sample.txt
Normal file
1
site/visitorCount.sample.txt
Normal file
|
@ -0,0 +1 @@
|
|||
0
|
Loading…
Add table
Reference in a new issue