Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Weaverse/pilot-express

Repository files navigation

How to patch the Hydrogen with Oxgen deployment to use Express:

  1. Patch the original server.ts or server.js file with the one from this repo.
  2. Patch the remix.config.js file with the one from this repo.
  3. Remove the app/entry.server.ts file.
  4. Add .env file.
  5. Patch the package.json with following json data:
  {
    "scripts": {
      "build": "remix build",
      "start": "cross-env NODE_ENV=production node --require dotenv/config ./server.js",
      "preview": "npm run build && npm run start",
    },
    "dependencies": {
      "@remix-run/express": "^1.16.0",
      "@remix-run/node": "^1.16.0",
      "@weaverse/hydrogen": "1.0.36",
      "express": "^4.18.2",
    }
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published