Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.12 KB

getting-started.md

File metadata and controls

33 lines (27 loc) · 1.12 KB

Getting started

Requirements

Setup

  1. Clone the repository
  2. (Optional) Append the following to .git/hooks/post-merge
    • Make sure the file is executable: chmod +x .git/hooks/post-merge
#!/bin/sh
`./git-hooks/post-merge`
  1. Configure environment variables
    1. Duplicate the example.env files to .env and fill in the blanks.
    2. apps/app/example.env -> apps/app/.env
    3. apps/playwright/example.env -> apps/playwright/.env
    4. packages/database/example.env -> packages/database/.env
  2. Start up the database: docker compose up
  3. Open a second terminal
  4. Install required Node.js version: nvm install
  5. Install dependencies: npm ci --prefer-offline
  6. Update the database's schema: npx --workspace=packages/database prisma migrate dev
  7. Run the app: npm run dev:app
  8. Create an developer account
    1. Signup at http://localhost:3000/signup
    2. Verify the email address at http://localhost:1080
    3. Change the systemRole of the account to ADMIN in the database