Skip to main content

Hosting / deployment

Hosting#

The frontend React application is hosted with Netlify. This is a free Git-based service which manages builds, deployments and hosting of the application.

Deployment#

By linking a Git repository, any commits to the main branch will trigger a build and deploy in Netlify. Build status can be tracked in Netlify, which usually take less than a minute to compile and go live. After both the Netlify account and Git repository are transferred to you, they may need re-linking at:

Git

Environment variables#

There are some critical environment variables which must remain in Netlify. Re-linking the Git repository may require these to be input again.

KeyValue
HTTPStrue
REACT_APP_ENVIRONMENTproduction
REACT_APP_WORDPRESS_APIhttps://klemich.snarkiedesign.com.au

These are managed at:

Environment variables

Pre-rendering#

Netlify also provide a pre-rendering service, which selectively serves an accessible version of the website to Search Engine and Social metadata crawlers. For example, without pre-rendering the website, Facebook would see a blank page as it scrapes metadata before any JavaScript is executed. The feature is enabled at:

Pre-rendering