FreedomBox/plinth.config
Sunil Mohan Adapa 42d05bfe1f Use Django models to store variables
- Remove dependency on withsqlite and use Django models.
  This avoids depending on a module that is not available in PyPi.
  Withsqlite does not have Python3 support. It does not work when
  we choose a different database backend. Atleast partly duplicates
  what Django models are meant for.

- Check and update database schema on every run so that
  newly added modules can add tables and old ones can update.
2014-09-10 12:35:35 +05:30

24 lines
521 B
Plaintext

[Name]
product_name = Plinth
box_name = FreedomBox
[Path]
# directory locations
file_root = %(root)s
data_dir = %(file_root)s/data/var/lib/plinth
log_dir = %(file_root)s/data/var/log/plinth
pid_dir = %(file_root)s/data/var/run
server_dir = /
actions_dir = %(file_root)s/actions
doc_dir = %(file_root)s/doc
# file locations
store_file = %(data_dir)s/plinth.sqlite3
status_log_file = %(log_dir)s/status.log
access_log_file = %(log_dir)s/access.log
pidfile = %(pid_dir)s/plinth.pid
[Network]
host = 127.0.0.1
port = 8000