Skip to content

dephy-io/dephy-conduits-interface

Repository files navigation

DePHY Conduits Interface

Deploy

Next, in the Cloudflare Dashboard, create a new Pages project:

  • Navigate to the project creation pages (Your account Home > Workers & Pages > Create application > Pages > Connect to Git).
  • Select the GitHub/GitLab repository you pushed your code to.
  • Choose a project name and your production branch.
  • Select Next.js as the Framework preset and provide the following options:
    Option Value
    Build command pnpm dlx @cloudflare/next-on-pages@1
    Build output directory .vercel/output/static
  • In the Environment variables (advanced) section, add a new variable named NODE_VERSION set to 20 or greater, add new variables named NEXT_PUBLIC_GRAPHQL_URI and NEXT_PUBLIC_API_URL.
  • Click on Save and Deploy to start the deployment (this first deployment won't be fully functional as the next step is also necessary).
  • Go to the Pages project settings page (Settings > Functions > Compatibility Flags), add the nodejs_compat flag for both production and preview, and make sure that the Compatibility Date for both production and preview is set to at least 2022-11-30.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published