File: settings.yml.example

package info (click to toggle)
python-sponge 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 1,300 kB
  • ctags: 411
  • sloc: python: 2,870; makefile: 130
file content (18 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
run-as: standalone # possible values: standalone, wsgi
host: 127.0.0.1
port: 8080
autoreload: true
application:
  path: /home/user/projects/web-app/module
  template-dir: /home/user/projects/web-app/html
  image-dir: /home/user/projects/web-app/images
  static:
    /media: /home/user/projects/web-app/static_media

  classes:
    SomeController: /

databases:
  media: mysql://root@localhost/webapp_media
  general: postgres://root:p4ssword@localhost/webapp_general
  metadata: sqlite:///webapp_metadata.db