Prerequisites
Before you begin, ensure you have the following installed:Install Java 25
OrgStack requires Java 25. Download and install it from Oracle or use a package manager:Verify your installation:
The output should show Java version 25 or higher.
Install Maven
Maven is used for building and managing dependencies. You can use the Maven wrapper included in the project, or install Maven globally:
Install PostgreSQL
You need PostgreSQL 16 or higher for the database:Alternatively, you can use Docker to run PostgreSQL (see the Docker setup guide).
Database setup
Create the database and user for OrgStack:Configuration
The default configuration inbackend/src/main/resources/application.properties is set up for local development:
You can override these settings using environment variables or by creating an
application-local.properties file.Running the application
You have two options for running the Spring Boot application:http://localhost:8080.
Verify the setup
Once the application is running, you can verify it’s working:Development workflow
Rebuild and restart
Stop the application (Ctrl+C) and restart it with
./mvnw spring-boot:run to see your changes.Troubleshooting
Connection refused to PostgreSQL
Connection refused to PostgreSQL
Ensure PostgreSQL is running:Check that the database exists and the user has proper permissions:
Java version mismatch
Java version mismatch
OrgStack requires Java 25. Check your Java version:If you have multiple Java versions installed, set
JAVA_HOME to point to Java 25:Port 8080 already in use
Port 8080 already in use
If another application is using port 8080, you can change the port in Or set it as an environment variable:
application.properties:Next steps
Docker setup
Use Docker Compose for containerized development
Production deployment
Learn how to deploy OrgStack to production