Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.24 KB

update.md

File metadata and controls

23 lines (22 loc) · 1.24 KB

Update frontend to WPKG

  1. Make backup the following files:
  • app/Config/config.php;
  • app/Config/core.php;
  • app/Config/database.php.
  1. Download XML configuration file for WPKG (config.xml): in your browser go to the link https://wpkg.fabrikam.com/admin/configs, where https://wpkg.fabrikam.com - base URL of installited WPKG Express 2.
  2. Delete the contents of the Document Root Directory (e.g. /var/www/wpkg).
  3. Install the latest WPKG Express 2 using composer: composer create-project anklimsk/wpkg-express-2 /var/www/wpkg, where /var/www/wpkg is Document Root directory. Or just download the latest release from releases and extract the archive to the Document Root directory.
  4. Restore from backup files to path /var/www/wpkg/app/Config.
  5. Navigate to the directory app application (/var/www/wpkg/app), and run the following command: sudo ./Console/cake CakeInstaller install for re-install frontend to WPKG.
  6. Answer Yes to the request to re-create the application database schema.
  7. Answer No to the request to delete database tables.
  8. Upload saved XML configuration file for WPKG.