https://docs.vmgd.whatworks.com.au/
  • ICT Team
    • Setting up your development environment
      • Install programs
      • Create a development wordpress site in Local
      • Git clone the repo
      • Configure the database connection
      • Pull database from live server
      • Run dev server
      • Push changes to live server
    • Making changes to the website
      • File Structure Overview
      • Creating a New Page Template
      • Content Entry Workflow
      • Deployment
    • VMGD Backend Requirements
      • Functional Requirements
        • Ability to edit website and mobile app content
        • API endpoints + documentation for mobile app
        • GraphQL server that allows the website front-end + mobile app to query all website content
        • Mobile Notification
        • Triggers
      • Non-Functional Requirements
        • Availability
          • Vercel CDN
          • Fastly CDN
          • Fastly Firewall
          • Caching + Firewall Diagram
Powered by GitBook
On this page
  • âš âš âš  CLOSE ALL WINDOWS/TABS FOR âš âš âš 
  • âš âš âš  https://content.vmgd.gov.vu âš âš âš 
  1. ICT Team
  2. Setting up your development environment

Pull database from live server

PreviousConfigure the database connectionNextRun dev server

Last updated 6 months ago

Go to plugins:

Install and activate Updraftplus plugin and connect to S3

Go to Settings

Select Amazon S3 as remote storage

For the secret key, right click -> inspect the input. Double click the value string and copy-paste that into your http://vmgd.local settings page.

You should see a new backup in the table list:

âš âš âš  CLOSE ALL WINDOWS/TABS FOR âš âš âš 

âš âš âš  https://content.vmgd.gov.vu âš âš âš 

Hit restore on the most recent backup

Login using your credentials for the live website.

Delete the old folders:

Copy the settings from:

to:

On the , make a backup of the database:

Go back to your and rescan remote storage

https://content.vmgd.gov.vu/wp-admin/options-general.php?page=updraftplus
http://vmgd.local/wp-admin/options-general.php?page=updraftplus
LIVE website
local site settings