- Make backup the following files:
app/Config/config.php
;app/Config/core.php
;app/Config/database.php
.
- Download XML configuration file for WPKG (
config.xml
): in your browser go to the linkhttps://wpkg.fabrikam.com/admin/configs
, wherehttps://wpkg.fabrikam.com
- base URL of installited WPKG Express 2. - Delete the contents of the Document Root Directory (e.g.
/var/www/wpkg
). - 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. - Restore from backup files to path
/var/www/wpkg/app/Config
. - 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. - Answer
Yes
to the request to re-create the application database schema. - Answer
No
to the request to delete database tables. - Upload saved XML configuration file for WPKG.