Working directory
When Smith instance (Java Web application running Smith) is started for the first time,
the directory named _smithwork is implicitly created bellow the approot/WEB-INF,
with the following structure:
This directory structure contains Smith's internal resources, configuration files, logs and optionally,
compiled ColdFusion® pages.
WEB-INF/_out is default ColdFusion® compiler directory and
it is only created if custom output folder is not specified in the Smith administration.
Configuration file
All relevant parameters that affect Smith's execution are stored in the single
configuration file. This includes data source definitions, path mappings, compile
options, debug settings etc. The file is encrypted and can only be maintained
using the Smith administration screens. The default configuration file is
WEB-INF/_smithwork/_config_files/smith.config. It contains initial
config parameters. However, it is possible to specify a custom config file,
and in that way to enable multiple Smith instances to share the same configuration. This
can be done using optional parameter configfile in the
web application descriptor (web.xml) file.
Go to Installation page in order to see typical content of web.xml.
Smith administration
Smith administration screens are available at the URL: <webroot>/IDE/admin.html.
However, in order to enable Smith administration, optional parameter called
adminallowed must be set to true in web.xml (see Installation).
Initial admin password is blank.
Every Smith administration is able to administer multiple config files. Thus,
if more Smith instances are running on the same computer it is usually enough to
enable Smith administration in only one of them - probably the most secure one.
When using Smith administration, it is important first to choose configuration from
the drop down list as shown on the screen below:
In order to add new configurations choose Edit button right to the drop down list.
Every configuration is specified by its name and full path of the config file.
After updating Smith configurations, drop down is also refreshed. By choosing desired
configuration, select menus on the left side and change Smith runtime settings.