cloudcoder.properties explained - cloudcoderdotorg/CloudCoder GitHub Wiki
MySQL database settings
cloudcoder.db.user=cloudcoder
cloudcoder.db.passwd=cloudcoder
cloudcoder.db.databaseName=cloudcoderdb
The MySQL username and password, and the name of the database that you configured for MySQL previously.
cloudcoder.db.host=localhost
cloudcoder.db.portStr=:3306
The hostname and the port number string of your MySQL installation. The default settings should be OK if you installed MySQL on a Linux machine. If you are using XAMP or MAMP, the port will probably be :8889.
The : in front of the port number is not a typo and is required!
Login settings
cloudcoder.login.service=database
Legal values: database or imap
Default is for passwords to be stored in the database. However, it is also possible to use IMAP to authenticate against a mail server.
cloudcoder.login.host=imap.host.edu
If cloudcoder.login.service=imap this should point to the hostname or IP address of IMAP server to be used for authentication. If cloudcoder.login.service=database, this setting can be deleted from the cloudcoder.properties file.
Builder settings
cloudcoder.submitsvc.oop.host=cloudcoder.host.edu
Hostname or IP address of the machine hosting the webapp. This setting is used by the builder to connect to the webapp. You may use localhost if the webapp and builder will be running on the same machine.
cloudcoder.submitsvc.oop.numThreads=2
How many threads should each builder run? A good estimate is one thread per core.
cloudcoder.submitsvc.oop.port=47374
The port number the Builder should use to contact the Webapp. 47374 is the default and we suggest sticking with this port number.
Keystore settings
cloudcoder.submitsvc.ssl.cn=Knox College
The name of your institution.
cloudcoder.submitsvc.ssl.keystore=keystore.jks
The name of the keystore containing a private key that will be used for secure communication between the Builder and Webapp. When you configure the webapp and builder, you will be prompted to create a new keystore, which will automatically be copied into the appropriate location inside cloudcoderApp.jar and cloudcoderBuilder.jar.
cloudcoder.submitsvc.ssl.keystore.password=changeit
The password for the keystore. We recommend leaving it as changeit, as the keystore file itself is not accessible to other people.
Webserver settings
cloudcoder.webserver.port=8081
Port number for cloudcoder to listen on.
cloudcoder.webserver.contextpath=/cloudcoder
The path to read the cloudcoder webapp. You should keep the default value. If cloudcoder is running on cloudcoder.host.edu, then the cloudcoder files will be installed in cloudcoder.host.edu/cloudcoder.
cloudcoder.webserver.localhostonly=false
Only allow connections from localhost. Should be false unless you have configured Apache to be a reverse proxy. Must be false if you are using the Quickstart guide.
GWT settings
gwt.sdk=/path/to/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205091048-rel-r37/gwt-2.4.0
Points to the location of the GWT libraries. The easiest way we have found to to configure this is to point to the gwt plugin inside Eclipse.
Only necessary to build CloudCoder from source. Not required to configure and deploy pre-compiled binaries!