The number one thing that must do is to get access permission from the vender and GovCMS
The second part is to install ahoy
in your local Mac and docker is also installed in your Mac.
- Run
git clone [site url from GovCMS - dashboard or project.govcms.gov.au]
please make sure the directory is where the localhost is - Get the latest MySQL dump from the dashboard.govcms.gov.au
- If you want to have site files, get the latest from the dashboard.govcms.gov.au (Nginx backup)
- Once all the above steps are done, let navigate to the site folder that is created via
Git Clone
and runahoy build
- Once the build is done, run
ahoy mysql-import [mysql dump file directory that is download from the dashboard]
- Replace the files(that are downloaded from dashboard.govcms.gov.au) to the docker file directory
- Check admin user status:
- If D7 - ahoy drush uinf 1
- If D8 -
ahoy drush uinf --uid=1
- If the user status = 0, you need to unblock the admin user:
- If D7 -
ahoy drush uublk 1
- If D8 -
ahoy drush uublk [user-name*] *
use the user name retuned fromdrush uinf --uid=1
. For example:ahoy drush uublk admin
. - Then login as admin user:
ahoy login
- If D7 -
The site is created as the same as the live site apart from Solr