Step 5. Deploying the Ncmaz-Faust to Vercel

This tutorial will show you how to deploy the Ncmaz project

The easiest way to deploy Next.js to production is to use the Vercel platform developed by the creators of Next.js.

Vercel is a serverless platform for static and hybrid applications built to integrate with your headless content, commerce, or database. We make it easy for frontend teams to develop, preview, and ship delightful user experiences, where performance is the default. You can start using it for free — no credit card required.

Step 1 - Requirements:

  1. Already have a Vercel account on any plan.

  2. You need to have the environment variables ready and correct - Step 4. Update environment variables.

    # Your WordPress site URL
    NEXT_PUBLIC_WORDPRESS_URL=https://faustexample.wpengine.com
    
    # Plugin secret found in WordPress Settings->Faust
    FAUST_SECRET_KEY=YOUR_PLUGIN_SECRET

  3. Read about how to manage environment variables in projects on Vercel - https://vercel.com/docs/projects/environment-variables

Step 2 - Get Start to Deploy:

There are 2 ways for you to deploy Ncmaz to Vercel, you can view and choose one of them. 👇

👉 Video deploy Ncmaz Faust to Vercel via GitHub repo

Tips and notes: 🌟🌟🌟

After you deploy to Vercel/Netlify, ... changes from your WordPress site (e.g. change home, add/update posts, pages, categories...) may take up to 15 minutes for data to be synchronized to your frontend site.

So please be patient, because this is the ISR feature of Nextjs that will help bring more performance and optimization.

Last updated