Prerequisite: Install and setup wampserver for Windows OS/ xampp for others Follow:
- https://wpastra.com/guides-and-tutorials/install-wordpress-on-wamp/
- https://themeisle.com/blog/install-xampp-and-wordpress-locally/#gref
- Checkout this repository.
- Copy the folder 'wordpress/ontrackdocumentation' to 'www' folder for wamp or 'htdocs' folder for xampp
- Run the wamp/xampp server on your local machine. This will run wordpress on your system.
- Access wordpress through (http://localhost/ontrackdocumentation/)
- Make changes to your website using wordpress tool via 'Customize' or 'Edit with Elementor' on the top menu bar.
- Install Simply Static plugin this will be onetime setup activity.
- Once all the changes are finalized, generate the static files. Go to http://localhost/ontrackdocumentation/wp-admin/admin.php?page=simply-static-generate. Click Generate Static Files. This will update our project.
- Commit and push the changes.
- Navigate to Plugins from your Wordpress dashboard (http://localhost/ontrackdocumentation/wp-admin/plugins.php)
- Search for Simply Static plugin
- Install and Activate the plugin
- Go to Simply static on left side banner (http://localhost/ontrackdocumentation/wp-admin/admin.php?page=simply-static-generate). Navigate to Deploy to change the deployment setting to "Local Directory" and set the local path to 'static-site' folder of this project