PREP 2015 System Administration

Installing two versions of webwork on the same server

Installing two versions of webwork on the same server

by Jim Fischer -
Number of replies: 2
Is it much trouble to have more than one version of webwork on the same server?

We just installed webwork on our test server today (July 13) in the PREP workshop, but I would like to also have another version of webwork running on the same server. I would like to have the "develop" version of webwork on our test server.

If this is possible and relevant to the workshop I would like to learn more about how to do this.






In reply to Jim Fischer

Re: Installing two versions of webwork on the same server

by sam koski -
This is another way to proceed.   I tried to install a second version (since I already had one running) but I didn't get very far.
In reply to Jim Fischer

Re: Installing two versions of webwork on the same server

by Jim Fischer -
We learned this during the conference...

The procedure is to use git to track and change versions. There are basically three steps:

1. Change to another webwork version, say develop. Within the /opt/webwork/webwok2 directory, sudo git checkout develop (sudo may not be needed, it was for me)

2. Change the pg version. Within /opt/webwork/pg
sudo git checkout develop

3 Run OPL update: Within /opt/webwork/webork2/bin
sudo -E ./OPL-update


To switch back to master, replace develop with master in first two steps. To see what branch you are using, git branch or git branch -a.