## WeBWorK Main Forum

by Lars Jensen -
Number of replies: 1
Hi Everyone,

Is courses/modelCourse supposed to be updated by svn? If so, do I just copy the .svn directory from courses.dist/modelCourse over to courses/modelCourse?

If not, how is courses/modelCourse kept up-to-date? (I think my modelCourse is old and hasn't been updated for quite a while).

Thanks,
Lars.

by Arnold Pizer -
Hi Lars,

No, courses/modelCourse is not updated using svn.

First check to see if your model course needs to be updated.  Use svn to update/opt/webwork/webwork2/courses.dist/

Then  cd /opt/webwork/webwork2/courses.dist/ and run
diff -r modelCourse/ /opt/webwork/courses/modelCourse/

This will show all differences between your courses/modelCourse and
courses.dist/modelCourse.  If there are only minor updates you can make them by hand.  If there are major changes and you want to start over, do the following:

cd /opt/webwork/webwork2/courses/
mv modelCourse modelCourse.old

Then follow the relevant instructions in
http://webwork.maa.org/wiki/Installation_Manual_for_2.5_on_Ubuntu_10.04#Move_the_System_into_the_Required_Directories
(i.e.
$cd /opt/webwork/webwork2/courses.dist$ cp *.lst /opt/webwork/courses/
\$ rsync -a --exclude '.svn' modelCourse /opt/webwork/courses/
and
http://webwork.maa.org/wiki/Installation_Manual_for_2.5_on_Ubuntu_10.04#Setting_Permissions
to create the new modelCourse.

Also see