WeBWorK Main Forum

Adding Student_Orientation to a course based on an existing course

Re: Adding Student_Orientation to a course based on an existing course

by Glenn Rice -
Number of replies: 0

As Alex said, this can be fixed as a system administrator.  All of the files are distributed with webwork2.  You just need to link to the distributed directory.

Run

sudo ln -s /opt/webwork/webwork2/assets/pg/Student_Orientation /opt/webwork/courses/courseId/templates/

to create the link.

You could also run "rsync -av /opt/webwork/courses/modelCourse/templates/ /opt/webwork/courses/courseId/templates/" and that would ensure that all files are updated (that is assuming your modelCourse is up to date).  However, if you have customizations of some other files (like the course_info.txt file) in a courses templates directory, it will overwrite those.