Local installation of Sirius Web for single-user testing purposes
Use this guide to spin up a local Sirius Web instance for evaluation or workshops. It relies on Docker to provide the PostgreSQL database and mirrors the steps commonly used in trainings.
|
Stable versions
Only |
1. Prerequisites
Make sure your workstation satisfies the hardware prerequisites and that the following tools are installed:
-
Java 21 (JDK). Verify with:
java -version -
Docker Desktop or Engine, so you can run a PostgreSQL container.
-
Network access to download the sample application and container images.
| If you already have PostgreSQL 15 or newer installed locally, you can reuse it instead of Docker. Adjust the connection parameters accordingly. |
2. Start PostgreSQL with Docker
docker run -p 5432:5432 --name sirius-web-postgres \
-e POSTGRES_USER=dbuser \
-e POSTGRES_PASSWORD=dbpwd \
-e POSTGRES_DB=sirius-web-db \
-d postgres:15
This command:
-
Maps container port
5432to the port5432of your machine. -
Creates a
dbuser/dbpwdaccount and asirius-web-dbdatabase. -
Runs PostgreSQL 15 in the background.
Add --rm if you want Docker to remove the container automatically when it stops.
Stop the container when you are done testing:
docker stop sirius-web-postgres
3. Launch the sample application
Download the sample sirius-web-YYYY.M.X.jar from the packages page, then run:
java -jar sirius-web-YYY.M.X.jar \
--spring.datasource.url=jdbc:postgresql://localhost:5432/sirius-web-db \
--spring.datasource.username=dbuser \
--spring.datasource.password=dbpwd
The application starts on http://localhost:8080 by default. Keep the terminal open so you can stop the server with Ctrl+C when you finish testing.
4. Next steps
-
Open your browser and navigate to
http://localhost:8080to reach the Homepage. -
Create a blank project or import one of the templates to explore the studio features.
-
When you are ready for multi-user or production deployments, move on to Install Sirius Web for production for SSL, scaling, and hardening guidance.
|
Remember to stop both the Java process ( |