Getting Started
Initial Setup
All new sites should use the following process when setting up a new site:
- Create a new repo on Github
- Set
Ownertoed-digital, and name your repo likesome-client-name. - Set
Repository Templatetoed-digital/eddev-starter-theme - Hit
Create repository
- Set
- Create a new site in Local, on your computer.
- Use the default settings
- Be sure to use
ed_adminas the username, and generate a secure password using 1Password or similar, and the email address should beweb@ed.com.au - Save the username and password to 1Pass.
- Install the following plugins:
- Advanced Custom Fields Pro (download ) (login details in 1Password)
- Add the licence key as the key for ACF Pro under ‘Custom Fields > Updates’. The licence key is also in 1Password for convenience.
- Slim SEO — install from plugins dashboard
- Nested Pages — install from plugins dashboard
- Under Settings -> General, set Timezone to Sydney (or the appropriate timezone).
- Make sure that all the installed plugins have been activated.
- Clone your newly created theme to
wp-content/themes/, making sure that the repo name and the theme folder name are identical. - Run the following commands inside the theme folder
composer updateyarnyarn add --dev eddev@latestyarn setup
- Activate the theme under Appearance > Themes
- Run
yarn dev - Add, Commit and Push all code changes back to Github.
Initial WP Engine Setup
After you’ve followed the steps above, and the site is running correctly locally, you can create a site on WP Engine:
- Log into WP Engine
- Navigate through Add Site → Build a new site → Get Started
- Ensure ‘ED.’ is selected under the account picker.
- Select ‘I will own it’
- Once complete, restart Local, run
yarn buildonce, and do an initial push to the new site, with all files and the database.
Initial Vercel Setup
Once the WP Engine site is up and running, you can create the Vercel project:
- Log into Vercel
- On the ‘Overview’ tab, navigate to Add New… → Project
- Select our team from the dropdown, and choose the site repo, then hit ‘Import’.
- Ensure the project name looks nice
- Add an Environment Variable with
Key: SITE_URL,Value: https://{staging-site-url} - Hit
Deploy
Last updated on