lib/spontaneous/generators/site/config/environments/development.rb.tt in spontaneous-0.2.0.alpha6 vs lib/spontaneous/generators/site/config/environments/development.rb.tt in spontaneous-0.2.0.alpha7
- old
+ new
@@ -4,14 +4,23 @@
simultaneous_connection "/tmp/simultaneous.<%= @site_name %>.sock"
# ensures that schema classes are reloaded with every request
reload_classes true
+# This provides you with login-less access to the CMS interface while in
+# development mode. Change this value to automatically login as a different
+# user or comment it out to reproduce the production environment.
+# DO NOT set this value in production.
+auto_login '__SPONTANEOUS_ROOT_USER_INSERT__'
+
host 'localhost'
+# This sets the port that the editing interface runs under
back do
- port 2011
+ port 2011
end
+# This sets the port that the published/live version of the development
+# site runs under.
front do
- port 2012
+ port 2012
end