mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
12 lines
354 B
Python
Executable file
12 lines
354 B
Python
Executable file
#!/usr/bin/python
|
|
import os, sys
|
|
# Change working directory so relative paths (and template lookup) work again
|
|
os.chdir(os.path.dirname(__file__))
|
|
|
|
sys.path.append(os.path.dirname(__file__))
|
|
|
|
import bottle
|
|
import web_routes
|
|
# ... build or import your bottle application here ...
|
|
# Do NOT use bottle.run() with mod_wsgi
|
|
application = bottle.default_app()
|