Configuration
Roadkill is configured using a combination of settings stored in the Roadkill.config file and in the database. The database connection string is stored in the connectionString.config file, and along with the Roadkill.config file is reference inside the web.config file.
Roadkill.config
This file contains all application settings for Roadkill that typically need an application restart, or are not just cosmetic preferences. The installer will configure the file for you when you run the install wizard, if you need to change the config file later each of the properties available in the <roadkill...
section can be found in the Api Documentation
connectionStrings.config
Your database connection string should be stored in the connectionStrings.config file in the website root. By default, this will be empty.
There is usually no reason to change the name of the connectionString in this section as it ties in with the connectionName setting inside the roadkill section.
Settings that are stored in the database
The settings available through the 'Site Settings' menus (admins only) reflects all the settings that are stored in the database. These are stored as JSON in the database, so can be easily edited if needed. The full list of settings are available in the API documentation
Changing the language of the site
If you want to force the language of your site to something other than the one installed on the server, you can do this using the <globalization>
tag inside the <system.web>
section.
This element is included in the Roadkill web.config, the example below shows how to force the site to use Spanish (Spain), a full list of valid locale names can be found on MSDN.
<globalization uiCulture="es-ES" culture="es-ES" />
The localization of the various labels on the site is based off this setting, and is configured during the installation.
Email server settings
If you have setup the Roadkill installation to allow signups from users, you will want to setup a mail server that the signup and lost emails are sent via. This can be done via the system.net section which is included in the Roadkill web.config by default, but is configured so that all emails are written as files to a drop folder. Below are the default settings, full details can be found on MSDN [url:http://msdn.microsoft.com/en-us/library/w355a94k.aspx]
<!-- Change these settings for signup and lost password emails -->
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory" from="[email protected]">
<specifiedPickupDirectory pickupDirectoryLocation="C:\inetpub\temp\smtp" />
</smtp>
</mailSettings>
</system.net>