-
Notifications
You must be signed in to change notification settings - Fork 59
Commands
There are two situations where this would be useful:
- You want to change the settings of an existing CloudCoder installation
- You want to apply existing configuration properties to a new binary distribution (we may distribute new binaries with bug fixes, new features, etc)
In either case, you should shutdown your cloudcoder installation before re-configuring a binary jarfile.
java -jar cloudcoderApp.jar configure
Here is a sample transcript of configuring the webapp and the builder.
cloudcoderApp.jar configures both the webapp and the builder.
First, shutdown cloudcooder. Then run this command from the webapp
folder:
java -jar cloudcoderApp.jar migratedb
This will bring update your cloudcoder tables, adding new columns or new tables where necessary.
From the directory containing cloudcoderApp.jar
, run this command:
java -jar cloudcoderApp.jar listconfig
In the folder containing cloudcoderApp.jar
, register students by running this command:
java -jar cloudcoderApp.jar registerstudents
This command will prompt for the name of a tab-delimited text file. This file should have a number of tab-delimited lines in the following format:
username firstname lastname email password section
The section is optional (it will default to 101 if you leave it out)
Students can change their passwords once they log into the system. Instructors can also change student passwords.
java -jar cloudcoderApp.jar createuser
Then follow the prompts to set up the new account's name, email, username and password.
From the webapp
folder (either containing cloudcoderApp.jar
or
containing a symlink to cloudcoderApp.jar
):
java -jar cloudcoderApp.jar start
From the webapp
folder (either containing cloudcoderApp.jar
or
containing a symlink to cloudcoderApp.jar
):
java -jar cloudcoderApp.jar shutdown
In the folder containing cloudcoderApp.jar
:
java -jar cloudcoderApp.jar createdb
Here is a sample transcript of creating the database.
java -jar cloudcoderBuilder.jar start
java -jar cloudcoderBuilder.jar shutdown
For more info (demo server, exercise repository, contributing to cloudcoder, etc): cloudcoder.org