Install SysON ecosystem
This guide provides step-by-step instructions for setting up the ecosystem needed to develop the product locally. Following these steps configures your local environment with all required dependencies, tools, and services, enabling you to develop, test, and troubleshoot the product on your own machine.
1. Start the database instance
SysON uses PostgreSQL as its database.
For development or local testing, the simplest approach is to start a PostgreSQL instance by using Docker.
docker run -p 5433:5432 --name syson-postgres \
-e POSTGRES_USER=dbuser \
-e POSTGRES_PASSWORD=dbpwd \
-e POSTGRES_DB=syson-db \
-d postgres
For Windows users, here is the same command on one line:
|
Docker images are build to run on x86_64 architecture. If you need to run SysON Docker image on a Mac Silicon architecture, run the following command in your terminal before executing the Docker image:
|
This take a while the first time you run this as Docker first pulls the PostgreSQL image. |
If you don’t have Docker or prefer to use an existing PostgreSQL installation, change the following command-line parameters and confirm the POSTGRES_USER
possesses administrative rights on the database.
These rights are necessary for the automatic creation of the database schema.
2. Start the application
Before you run the application, confirm you have following the prerequisites and downloaded the JAR (org.eclipse.syson.syson-application-YYYY.M.X.jar) from the download section.
Go to the folder containing the org.eclipse.syson.syson-application-YYYY.M.X.jar and run the command:
java -jar path\to\your\syson-application-YEAR.MONTH.0.jar \
--spring.datasource.url=jdbc:postgresql://localhost:5433/syson-db \
--spring.datasource.username=dbuser \
--spring.datasource.password=dbpwd
3. Open your web browser
Navigate to http://localhost:8080
to experience SysON.
To end your local testing session, confirm you stop the running PostgreSQL Docker container by using the command |
If you meet any issues during the installation process, see the troubleshooting guide for detailed solutions.