Difference between revisions of "Release notes for WeBWorK 2.20"
Jump to navigation
Jump to search
(Created page with "{{UnderConstruction}} {{Warning|This page should be considered incomplete until the release of 2.20 has been announced}} == New WeBWorK Features == * TODO == New PG Featur...") |
|||
Line 34: | Line 34: | ||
*: <code>> cd /opt/webwork/pg/htdocs</code> |
*: <code>> cd /opt/webwork/pg/htdocs</code> |
||
*: <code>> npm ci</code> |
*: <code>> npm ci</code> |
||
− | * |
+ | * Run <code>bin/check_modules.pl</code> to ensure you have all programs/modules (although there are no new dependencies for this release). |
− | ** TODO (I don't think there have been any dependency changes really) |
||
* Restart the webwork2 server: <code>>sudo systemctl restart webwork2 </code> |
* Restart the webwork2 server: <code>>sudo systemctl restart webwork2 </code> |
||
* If you use the webwork2 job queue, then that will also need to be restarted. Do that with: <code>>sudo systemctl restart webwork2-job-queue</code> |
* If you use the webwork2 job queue, then that will also need to be restarted. Do that with: <code>>sudo systemctl restart webwork2-job-queue</code> |
Latest revision as of 18:39, 29 April 2025
Warning : | This page should be considered incomplete until the release of 2.20 has been announced |
Contents
New WeBWorK Features
- TODO
New PG Features and Improvements
- TODO
Breaking changes
- TODO
Deprecated Functionality
- TODO
Upgrade Instructions
- First update the webwork2 and pg code. For this run
> cd /opt/webwork/webwork2
> git fetch origin
> git checkout WeBWorK-2.20
> git pull
> cd /opt/webwork/pg
> git fetch origin
> git checkout PG-2.20
> git pull
- Update the javascript and css assets for webwork2 and pg with
> cd /opt/webwork/webwork2/htdocs
> npm ci
> cd /opt/webwork/pg/htdocs
> npm ci
- Run
bin/check_modules.pl
to ensure you have all programs/modules (although there are no new dependencies for this release). - Restart the webwork2 server:
>sudo systemctl restart webwork2
- If you use the webwork2 job queue, then that will also need to be restarted. Do that with:
>sudo systemctl restart webwork2-job-queue
- You should update the modelCourse via:
rsync -av /opt/webwork/webwork2/courses.dist/modelCourse/ /opt/webwork/courses/modelCourse/
- Upgrade the admin course by executing the
upgrade_admin_db.pl
script. - Make sure to upgrade courses from the admin course to relegate changes to the database.