WeBWorK Main Forum

modelCourse updates

Re: modelCourse updates

by Arnold Pizer -
Number of replies: 0
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 
$ cd /opt/webwork/webwork2/courses.dist
$ cp *.lst /opt/webwork/courses/
$ rsync -a --exclude '.svn' modelCourse /opt/webwork/courses/
to create the new modelCourse. 

Also see 

Hope this helps.