{{template:CanteenStyles}}
Setup
Database Setup
Let's establish a database connection with a MySQL database.
{{formFeedback}}
Host
User
Password
Database
If defining multiple databases, they should be separated with commas. The first database is the default location where Canteen will be installed.
Advanced Options
Domain
Specify which domains that the site can run on. The default is all domains. This is helpful if you're setting up different deployment and you want your development site to be accessible from dev.example.com. You can separately set any of these options for an individual deployment level. Multiple domains should be comma-separated and can use the catch-all (e.g.,
10.1.*.*, 192.168.*.*, mysite.local
).
Deployment Level
Local
Development
Staging
Live
This is implementation specific by your site and is a way to organize different database credentials, for instance, on different servers. Please note: setting a "Local" level will disable any of the privilege restrictions on database calls. This should not be used on a live, public-accessible site.
Debug Mode
Useful for testing purposes, this allows users to see verbose error messages for crashes or thrown errors. It's
strongly recommended
that debug mode is not enabled on a live deployment level.
Enable Cache
Enabling cache turns-on the use of memcached to cache the page rendering and database queries. If memcached is not available, the fallback is directory-based caching (see Cache Directory option).
Cache Directory
The path to the cache directory. This directory must be writable by Apache.
Minify
All site markup is minified by removing extraneous whitespace tables and newlines. Useful for reducing markup file-size.
Compression
The zlib extension must be installed on Apache to use this feature. The buffer output is compressed using zlib and is the best method for minimizing output file-size.