Vulcan Next logoVN Live Documentation

Back to documentation index


Deployment

Vercel

Install command

We advise to customize the installation command as follow:

yarn install --ignore-optional

This "Install Command" option is available in your project settings.

Env variables

Set relevant environment variables, based on the content of .env.production.local. You may need to adapt depending on your application URL and your Mongo database URL.

Examples:

  • NEXT_PUBLIC_GRAPHQL_URI: https://vulcan-next.vercel.app/api/graphql (NOTE: we need an absolute URL here)
  • APOLLO_SERVER_CORS_WHITELIST: https://vulcan-next.vercel.app,https://www.twaikura.com (beware of NOT adding a trailing backlash)
  • MONGO_URI: <your-mongo-db-url>

Vercel.json

Update vercel.json to match your project.


Back to documentation index