The Contensive command line tool (cc.exe) performs maintenance tasks, as well as code execution for any of the applications configured in the (application server group)[/help/contensive/Setup and Configuration].
cc.exe --configure
Use the configure command to setup a new server. Before running the command, you should install the latest CLI. If the server will include an http connection, like a web app or website, you also the default-iis app from Contensive downloads.
After running the command, the server will be ready to add an application.
The server group is the one or more servers, that may include one or more applications. Enter a single word, no spaces or special characters. You might use a word that represents the server and not the application, like jayDev.
Answer no for production site.
A simple true or false that passes this parameter to the code environment.
Reply yes and all application files, such as uploaded content or working files are stored locally on the server.
Reply no and files will be stored in an Amazon S3 bucket and the local file space is a mirror used for file operations. Remote files are implemented in three of the four file systems
Best practice is to have a drive available for just content, drive-d.
Create an aws user for the server group. All applications in the server group share this user by default. Individual applcations can override these credentials to isolate applications. Policies needed will depend on the configuration.
Enter the region for your application. us-east-1 by default.
Answer no for production site. This enables sending nLog logging data to Cloud Watch.
For a local database, enter "(local)"
For a remote database like RDS, enter the endpoint for the database engine.
for example, "rds-jaydev.-----------.us-east-1.rds.amazonaws.com"
The code accesses, and provides access to the db through the cp.db object, which uses this credential in the connection string.
Answer local for development applications. For staging and production servers using mulitple servers, use remote cache. The sysyem is currently transtioning from MCached to Redis and this transtion. Do not start new configurations in MCached.