Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 903 Bytes

readme.md

File metadata and controls

49 lines (34 loc) · 903 Bytes

Pinehaus

Directory structure:

  • ☁️ docker/ - Docker services definitions
  • 🌐 frontend/ - NextJS frontend application
  • 🖥️ backend/ - Spring Boot backend application
  • 🚪 nginx/ - NGINX configuration for backend proxy layer
  • 📦 scripts/ - Utility scripts for building and running containers
  • 📊 tests/ - Performance testing scripts using JMeter

Prepare environment

Copy the environment file and fill it with the necessary data.

cp .env.example .env

Scripts

There exist utility scripts whcih handle docker commands for building and running containers.

Prerequisite: Make the scripts executable.

chmod u+x scripts/backend.sh
chmod u+x scripts/frontend.sh

Build and run

./scripts/backend.sh build
./scripts/frontend.sh build

Run

./scripts/backend.sh
./scripts/frontend.sh