Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Set www root and project root, because Aspen 0.37 comes without
Browse files Browse the repository at this point in the history
default conventions AspenWeb/pando.py#437
  • Loading branch information
techtonik committed Jun 18, 2015
1 parent a5fc4b6 commit 981fefc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion startapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@

from aspen.website import Website

aspen_config = [
'--www_root=www/',
'--project_root=.'
]

# by WSGI convention, we need to create webapp object
# and by default most WSGI servers look for 'application'
application = Website([])
application = Website(aspen_config)

if __name__ == '__main__':
from wsgiref.simple_server import make_server
Expand Down

0 comments on commit 981fefc

Please sign in to comment.