Public
Snippet $101 authored by Owo Sugiana

Konfigurasi Web Piutang PBB

pbb-piutang.ini
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###

[app:main]
use = egg:opensipkd_base
pyramid.debug = true
reload_templates = true
devel = true
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = true
default_locale_name = en

sqlalchemy.url = postgresql://sugiana:a@localhost/pbb
pbb.url = postgresql://sugiana:a@localhost/pbb_banjar

pyramid.includes =
    pyramid_tm
    pyramid_beaker
    pyramid_chameleon
    pyramid_rpc.jsonrpc
    pyramid_debugtoolbar

session.type = ext:database
session.secret = s0s3cr3t
session.cookie_expires = true
session.key = WhatEver
session.url = postgresql://sugiana:a@localhost/pbb
session.timeout = 3000
session.lock_dir = %(here)s/tmp

config.include =

timezone = Asia/Jakarta
localization = id_ID.UTF-8
#localization = Indonesian_indonesia.1252
#localization = English_Australia.1252

_host =
base_url =
mail.host = mail.example.com
mail.port = 587
mail.username = bot@example.com
mail.password = FIXME 
mail.sender_name = Info Example 


static_files = %(here)s/../files
captcha_files = %(here)s/tmp/captcha
upload_files = %(here)s/tmp/upload

company = open SIPKD
ibukota   = SERPONG
departement = Divisi Teknologi Informasi
address_1 = Jalan....
address_2 = Tangerang ...

center.phone = 021123456789
center.mobile = 081311045668
center.email = FIXME
center.email_password = FIXME
center.smtp_server = FIXME 

#_host =

#unoconv config
unoconv_py = C:\Program Files\LibreOffice 5\program\python.exe
unoconv_bin = C:\project\apps3\venv3\scripts\unoconv

ocr_bin = C:\Tesseract-OCR\tesseract.exe
menus = bjb/samsat:BJB-SAMSAT

#modules_default = sambara
app_name = DEMO BJB-SAMSAT
allow_register = False
;modules = bjb.samsat
#Departemen M
change_unit = False
departemen_chg_id = 3


[app:map]
center.long = 11873540
center.lat  = -702917

[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543

# Begin logging configuration

[loggers]
keys = root, opensipkd, sqlalchemy

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[logger_opensipkd]
level = INFO
handlers =
qualname = opensipkd 

[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither.  (Recommended for production systems.)

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = INFO
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s

[alembic]
script_location=alembic
sqlalchemy.url = postgresql://aagusti:a@localhost:5434/demo

# End logging configuration

[alembic_ziggurat]
script_location = ziggurat_foundations:migrations
sqlalchemy.url = postgresql://sugiana:a@localhost/pbb

[alembic_base]
script_location = opensipkd.base:alembic
sqlalchemy.url = postgresql://sugiana:a@localhost/pbb