Release notes for WeBWorK 2.7: Difference between revisions

From WeBWorK_wiki
Jump to navigation Jump to search
(Created page with " Release/2.7 was earlier called release 2.5.1.3")
 
No edit summary
Line 1: Line 1:
Release/2.7 was earlier called [[Release_notes_for_WeBWorK_2.5.1.3 | release 2.5.1.3]]
=== Cautions ===
{{Warning |Because new tables and fields have been added for the essayQuestion feature upgrading from ww2.5.1.1 will require:}}
* Replacing the current database.conf with database.conf.dist (assuming you have made no changes to your local database.conf version)
* Upgrading the tables by visiting the admin page -- which will create also create showPastAnswers table
** This replaces the showPastAnswers logs and also supports the essayQuestion feature.
== Quick install ==


If you are already using the software  from github.com/openwebwork then the upgrade is quite simple:
* Update webwork2
  cd /opt/webwork/webwork2
  git branch
    * master
    .... perhaps other branches
  git checkout master    # switch to master branch
  git pull                # pull down software updates
* Update pg
  cd /opt/webwork/pg
  git branch
  git checkout master
  git pull
* Update library
  cd /opt/webwork/libraries/webwork-open-problem-library
  git pull


*Run check_modules.pl and update CPAN modules if needed.
*Update library database
  cd /opt/webwork/webwork2/bin
  ./OPL-update          # update the database indexing the OPL


*Restart webserver.
*Go to admin course, click on the "upgrade courses" tab and update the course databases.


Release/2.7 was earlier called [[Release_notes_for_WeBWorK_2.5.1.3 | release 2.5.1.3]]
* After things checkout you might like to visit webwork2/conf/ and compare localOverrides.conf and localOverrides.conf.dist.   There might be some new features that you will want to enable.

Revision as of 01:06, 11 June 2013

Release/2.7 was earlier called release 2.5.1.3

Cautions

Warning : Because new tables and fields have been added for the essayQuestion feature upgrading from ww2.5.1.1 will require:
  • Replacing the current database.conf with database.conf.dist (assuming you have made no changes to your local database.conf version)
  • Upgrading the tables by visiting the admin page -- which will create also create showPastAnswers table
    • This replaces the showPastAnswers logs and also supports the essayQuestion feature.

Quick install

If you are already using the software from github.com/openwebwork then the upgrade is quite simple:

  • Update webwork2
 cd /opt/webwork/webwork2 
 git branch
   * master 
    .... perhaps other branches
 git checkout master     # switch to master branch
 git pull                # pull down software updates
  • Update pg
 cd /opt/webwork/pg
 git branch
 git checkout master
 git pull
  • Update library
 cd /opt/webwork/libraries/webwork-open-problem-library
 git pull 
  • Run check_modules.pl and update CPAN modules if needed.
  • Update library database
 cd /opt/webwork/webwork2/bin
 ./OPL-update           # update the database indexing the OPL
  • Restart webserver.
  • Go to admin course, click on the "upgrade courses" tab and update the course databases.
  • After things checkout you might like to visit webwork2/conf/ and compare localOverrides.conf and localOverrides.conf.dist. There might be some new features that you will want to enable.