Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[svn] updating to reflect latest ini file

--HG--
branch : trunk
  • Loading branch information...
commit 195fb79ae5724e3993022d0febdee4777031ccc7 1 parent 5b48da1
pjenvey authored
Showing with 17 additions and 7 deletions.
  1. +16 −6 docs/application_setup.txt
  2. +1 −1  docs/internationalization.txt
View
22 docs/application_setup.txt
@@ -59,17 +59,27 @@ Using our new wiki example again the ``wiki.egg-info/paste_deploy_config.ini_tmp
email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@exceptions.com
-
+
[server:main]
- use = egg:PasteScript#wsgiutils
+ use = egg:Paste#http
host = 0.0.0.0
port = 5000
-
+
[app:main]
+ use = egg:helloworld
+ myghty_data_dir = %(here)s/data/templates
+ cache_data_dir = %(here)s/data/cache
+ session_data_dir = %(here)s/data/sessions
+ session_key = helloworld
+ session_secret = ${app_instance_secret}
+ app_instance_uuid = ${app_instance_uuid}
+
+ #sqlobject.dburi = sqlite:%(here)s/somedb.db
+
+ # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
+ # Debug mode will enable the interactive debugging tool, allowing ANYONE to
+ # execute malicious code after an exception is raised.
set debug = false
- use = egg:wiki
- cache_dir = %(here)s/cache
- #sqlobject.dburi = sqlite:/somedb.db
When the command ``paster make-config wiki wiki_production.ini`` is run, the contents of this file are produced so you should tweak this file to provide sensible default configuration for production deployment.
View
2  docs/internationalization.txt
@@ -125,7 +125,7 @@ One more useful thing to be able to do is to set the default language to be used
[app:main]
use = egg:translate_demo
- cache_dir = %(here)s/cache
+ cache_data_dir = %(here)s/cache
lang = es
If you are running the server with the ``--reload`` option the server will automatically restart. Otherwise restart the server manually and the output would this time be as follows::
Please sign in to comment.
Something went wrong with that request. Please try again.