Install npm packages
npm install
Set up a Postgres database locally or use your favorite provider.
Copy the .env.local.example file in this directory to .env.local (this will be ignored by Git):
cp .env.local.example .env.localSet the DATABASE_URL variable in .env.local to the connection uri of your postgres database.
Example usage:
DATABASE_URL=postgresql://dbusername:dbpassword@host/dbname
To setup up the migrations, use:
npm run migrate:upnpm run dev