Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.08 KB

redwoodjs.com

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!

Development Quick Start

Start by installing dependencies.

yarn

.env

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.

Database

Setup the database and seed any required data:

yarn rw prisma migrate dev

Account Creation

Start the dev server:

yarn rw dev

And then go to http://localhost:8910/signup to create an account.