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.
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.
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.
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.