Upgrading on macOS
Perform the following tasks to upgrade P4 Plan Web on macOS.
1. If either the P4 Plan Web API or P4 Plan Web Integrations services are running, stop them before proceeding.
2. Download the latest version of P4 Plan Web.
3. Unzip all files in the location where P4 Plan Web is installed. Overwrite any existing files.
4. Copy the client files to the web root directory, for example /usr/share/nginx/html:
cp -r client/dist/* /usr/share/nginx/html/
cp -r integrations/helix_core /usr/share/nginx/html/
5. Update node dependencies:
cd P4PlanAPI
npm ci --omit=dev --no-audit
cd ..
6. Update integration dependencies:
cd integrations
npm ci --omit=dev --no-audit
cd ..
7. Start P4 Plan API and integrations by running ./start.sh
8. Visit https://localhost