Step 4. Update environment variables.
Last updated
Was this helpful?
Last updated
Was this helpful?
Once the necessary plugins have been properly installed and activated, open the .env.local.sample
file on the Ncmaz-faust project -> duplicate it, and rename it to .env.local
It will look something like this:
Update the NEXT_PUBLIC_WORDPRESS_URL
value with your WordPress site URL (be sure to include http://
or https://
).
Additionally, update the FAUST_SECRET_KEY
value with the Secret Key found in Settings β Faust
in your WordPress admin area to support previews.
NOTE for users of Atlas and/or Local:
If deploying from the Atlas portal using your own repository without beginning with a blueprint, you will need to set your environment variables manually. Learn how by taking a look at our FAQs.
If using Local, ensure that in Localβs advanced settings, your router mode is set to Site Domains
to match your NEXT_PUBLIC_WORDPRESS_URL
value.