This repo contains the latest iteration of redwoodjs.com, redesiged for our v1.0 launch in late March 2022. If you'd like to help contribute, get in touch in our Discord or Discourse!
Start by installing dependencies.
yarn
You'll need to create a .env
file. Start with this in the file:
DATABASE_URL=
SESSION_SECRET=
Go to https://railway.app and provision a new Postgres database. Switch to "Connect" tab and copy "Postgres Connection URL". Paste that as the DATABASE_URL
. If you don't want to use Railway, you can use a local Postgres.
The SESSION_SECRET
var is required for dbAuth. To generate this secret:
yarn rw g secret
Paste that as the SESSION_SECRET
.
Setup the database and seed any required data:
yarn rw prisma migrate dev
Start the dev server:
yarn rw dev
And then go to http://localhost:8910/# to create an account.