Skip to content

UpdateGuideOJS

tnier01 edited this page Jul 14, 2021 · 1 revision

This page describes how to update OJS for macOS. This is an individually created instruction, the official instructions can be found here:

Update Guide OJS for macOS (11.2.2)

Update the App

cd ojs 
git checkout master 
git pull https://github.com/pkp/ojs.git master
git push

Update the pkp-lib submodule

cd ojs/lib/pkp
git checkout master 
git pull https://github.com/pkp/pkp-lib.git master
git push

Update the ui-library submodule

cd ojs/lib/ui-library
git checkout master 
git pull https://github.com/pkp/ui-library.git master
git push

Final steps

cd ojs
git submodule update --init --recursive
composer --working-dir=lib/pkp update
npm install
npm run build
php tools/upgrade.php upgrade