
# This file contains settings common to development and production

# -------------------------------------------------------------
# Project settings
# -------------------------------------------------------------

[settings]
project_title = Expose

[project]
# A randomly generated secret key used by csrf protection
secret = +Q6`c^!=XANjo%QX-kJlE@&gt;At.e`2l]*/@l&amp;$AsiU2F4Oq!59[NH*I.ITJ!OH82E
# Enable debug mode
debug = yes
# Show file and line for <echo> text
debug_echo = no
# Write logs regarding signals
log_signals = no
# Run pre-flight checks before running server
preflight = yes
# Location of moya logic xml files
location = ./startup
# Path to logic file containing server
startup = server.xml

[themes]
location = ./themes

[debug]

[autoreload]
enabled = no

# -------------------------------------------------------------
# Sites
# -------------------------------------------------------------

# Default site
[site]
# Content to use if no base content is specified
base_content = site#content.base
# Default timezone to use
timezone = UTC
# Use the timezone specified in the current user, if available
user_timezone = yes
# Append a slash to urls that 404
append_slash = yes
# set which theme file to read
theme = default

# Catch all domains for a production server
[site:{*domain}]
priority = -1
data-server = production
data-url = ${.request.host_url}

# Settings for the development server
[site:127.0.0.1,localhost]
data-domain = localhost
data-server = dev
data-url = http://localhost:8000

# An example of how to manage subdomains
#[site:${subdomain}.example.org]
#data-url = http://${subdomain}.example.org

# -------------------------------------------------------------
# Filesystems
# -------------------------------------------------------------

[fs:project]
location = ./

[fs:static]
location = ./static

# -------------------------------------------------------------
# Caches
# -------------------------------------------------------------

[cache:parser]
# Cache used to store parsed expressions
type = dict
namespace = parser
location = ./__moyacache__
enabled = no

[cache:templates]
# Cache used to store compiled templates
type = dict
namespace = templates
location = ./__moyacache__

[cache:fragment]
# Cache used to store html fragments
type = dict
namespace = framgment
location = ./__moyacache__

[cache:runtime]
# Used by <cache-return> tag to cache expensive calculations
type = dict
namespace = runtime
location = ./__moyacache__


# -------------------------------------------------------------
# Email servers
# -------------------------------------------------------------
[smtp:default]
host = 127.0.0.1
sender = willmcgugan@gmail.com


# -------------------------------------------------------------
# Media
# -------------------------------------------------------------

[media]
location = ./static


# -------------------------------------------------------------
# Templates
# -------------------------------------------------------------

[templates:default]
location = ./templates
priority = 10


# -------------------------------------------------------------
# Applications
# -------------------------------------------------------------
[settings:pages]
autocreate = about
             contact
             privacy-policy
             terms-and-conditions

[settings:feedback]
email_to = willmcgugan@gmail.com
email_from = willmcgugan@gmail.com

[settings:media]
fs = media
hide =
dirlist = yes
index =

[settings:diagnostics]
email_from =
admin_email = Will McGugan <willmcgugan@gmail.com>
subject = [${.request.host}]


