-
Notifications
You must be signed in to change notification settings - Fork 0
CreateCourse
To create a course:
Use ssh to log into the webapp server. Either log into the cloud account
directly, or log into an account that can execute the sudo command.
If you didn't log into the cloud account directly, switch to the cloud account:
sudo su cloudOnce you are running as the cloud user, change directory to the directory containing the web application jar file: if you used the Bootstrap script, use the command:
cd /home/cloud/webappNow, use the webapp jar file to run the createcourse command:
java -jar cloudcoderApp.jar createcourseYou will be prompted to enter information about the course you want to create. Here is an example session:
Create a CloudCoder course
What term?
0 - Winter
1 - Spring
2 - Summer
3 - Summer 1
4 - Summer 2
5 - Fall
[Enter value in range 0..5] 1
What year? 2013
Course name (e.g., "CS 101")? CS 101
Course title (e.g., "Introduction to Computer Science")? Introduction to Computer Science I
Course URL? http://faculty.ycp.edu/~dhovemey/spring2013/cs101/
Instructor username? dhovemey
What section is this instructor teaching? 101
Add another instructor? (y/n)n
Success!
Note that the accounts of the instructors you designate for the course must exist before you run this command.
For more info (demo server, exercise repository, contributing to cloudcoder, etc): cloudcoder.org
