Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.43 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.43 KB

README

To reproduce...

  • upgrade to the RC:
yarn rw upgrade -t rc
6.4.0-rc.45+cd3494993
  • set up Docker:
yarn rw exp setup-docker
  • set up the server file:
yarn rw exp setup-server-file
  • diff the generated server file with the one here; there's a few changes you'll have to make (in particular, the host)

  • add the @redwoodjs/realtime package:

# make sure the version is the same as all the other `@redwoodjs` packages:
yarn workspace api add @redwoodjs/realtime@6.4.0-rc.45
  • update the Dockerfile to use the server file:
- CMD [ "node_modules/.bin/rw-server", "api", "--load-env-files" ]
+ CMD [ "node", "./api/dist/server.js" ]
  • if you're deploying to Fly, use their CLI. just say yes to everything (but you can say no to the Postgresql and Upstash redis databases if you don't want them):
flyctl launch