-
Notifications
You must be signed in to change notification settings - Fork 4
Developer Commands
Note
Link to Justfile can be found here
just dev - Will run both the backend and frontend development server at the same time.
just devd - Will run both the backend and frontend development server at the same time, but the backend will be in debug mode. See just backend-dev-debug.
just drop - Will drop your local database's public schema using the credentials provided in .env
just migrate - Will migrate your local database using the credentials provided in .env
just migrate-prod - Will manually migrate production database using the credentials provided in .env.production
Warning
Should be used sparingly
just copy-stg - Will pull credentials from infra/.env.production and do the following:
- Drop all tables from staging db
- Copy all data from production db to staging db
- Scrub/sanitize all records/tables that should not be allowed in staging db.
Warning
Should be used sparingly
just dev - Will run both the backend and frontend development server at the same time.
just frontend-install - Download any missing frontend dependencies. An alias for cd js && pnpm i.
just frontend-dev - Will only start the frontend Vite dev server.
just types-gen - Regenerate the schema.ts file.
Warning
The backend must be running
just frontend-test - Run the entire frontend test suite - linters, autoformatters, typechecking, etc
just backend-install - Builds and installs Spring backend. An alias for ./mvnw install -DskipTests=true.
just backend-dev - Will only start the backend Spring dev server.
just backend-dev-debug - Will only start the backend Spring dev server, but will wait for a JVM debugger to attach to port 5005 first.
just backend-test - Run Checkstyle and then the full test suite.
just backend-coverage - Runs just backend-test and opens up the JaCoCo test coverage page in your default browser.
just backend-spotless - Runs the backend formatter (currently Spotless with Palantir Java Formatter) and indicates whether or not you need to run the formatter on any files.
just backend-spotless-fix - Runs the backend formatter (currently Spotless with Palantir Java Formatter) and will write to any files that have not been formatted yet.
just email-dev - Run the React Email dev server.
just email-gen - Will run email/email.sh which will build all React Email components into HTML and pass them into the backend's static folder.
Warning
This is mainly used in development.
- Home
- Setup
- Developer Commands
- Secrets
- Technical Docs
- Feature Docs
- CI Commands
- Contributing
- Codebloom ↗
- Codebloom - Swagger Documentation ↗
- Codebloom - Staging ↗
- Codebloom - Staging - Swagger Documentation ↗
- Codebloom - Local - Swagger Documentation ↗
- Codebloom - Local - Prometheus Metrics ↗
- Grafana Dashboard - Separate domain
- Public Taskboard (Read-only) ↗