- Docker installed (production environment only)
- Production
- Development
- Local
Environments are configured from docker/<env>/.env and backend/src/main/resources/application-<env>.properties.
- Start up everything at once:
cd docker/prod
docker compose upThis should take at least few minutes.
- Docker compose for development environment will start only the PostgreSQL container by default:
cd docker/dev
docker compose up- Start server - this requires JDK 17 to be installed, verify with
java --version:
cd backend
./mvnw spring-boot:run- Alternatively - the server can be run by specifying
serverprofile:
cd docker/dev
docker compose --profile server up- Start client - this requires node and yarn to be installed, verify with
node -vandyarn -v:
cd frontend
yarn install
yarn startOpen localhost.