Note: All references to Command Prompt can be replaced with the equivalent terminal for your operating system.
Download and install the appropriate version of Docker Desktop for your operating system from the Docker Desktop Webpage
Open a Command Prompt window: Start → search "Command Prompt"
Create a bridge network for OSEE related docker images by running the following command in Command Prompt.
docker network create osee-network
This will allow OSEE docker images to communicate with each other without exposing the host network.
Pull a docker image for PostgreSQL 16.3 by running the following command in Command Prompt.
docker pull postgres:16.3
Run the following command in Command Prompt.
docker run --name osee-postgres --network osee-network -e POSTGRES_PASSWORD=osee -e POSTGRES_USER=osee -e POSTGRES_DB=osee -d postgres:16.3
Note: Running a PostgreSQL Docker Container in this configuration will store data within the container. In other words, if the container is destroyed, the data it contained will also be destroyed. If you wish to run a container that uses a persistent data volume that will exist independently from the container, please run using the persistent data configuration below.
Create a folder named postgresql_data in your documents directory.
Run the following command in Command Prompt after replacing YOUR_USER_HERE with your username.
docker run --name osee-postgres --network osee-network -e POSTGRES_PASSWORD=osee -e POSTGRES_USER=osee -e POSTGRES_DB=osee -e PGDATA=/var/lib/postgresql/data/pgdata -v C:\Users\YOUR_USER_HERE\Documents\postgresql_data:/var/lib/postgresql/data -p 5432:5432 -d postgres:16.3
Alternatively, you can create a data folder in another location by simply replace the path to the left of the : with the path to your folder.
Note: Port 5432 is being published so that it is accessible to database admin tools like pgAdmin 4. If that kind of access is not desired, -p 5432:5432 can be omitted.
Note: These instructions assume that the Postgres Docker and bridge network have already been created during the PostgreSQL Docker instructions. All references to Command Prompt can be replaced with the equivalent terminal for your operating system.
Open a Command Prompt window: Start → search "Command Prompt"
Pull a docker image for OSEE Demo Server by running the following command in Command Prompt.
docker pull ghcr.io/eclipse-osee/org.eclipse.osee/osee-demo-server:latest
Create a folder named osee_server_data in your documents directory.
Run the following command in Command Prompt after replacing YOUR_USER_HERE with your username.
docker run --name osee-demo-server --network osee-network -v C:\Users\YOUR_USER_HERE\Documents\osee_server_data:/var/osee/demo/binary_data/osee_server_data -p 8089:8089 -d ghcr.io/eclipse-osee/org.eclipse.osee/osee-demo-server:latest
Alternatively, you can create a data folder in another location by simply replace the path to the left of the : with the path to your folder.
Note: Port 8089 is being published so that the OSEE Website is available in localhost.
If you are using Windows machine, run the initializeDB.bat script. This is located at plugins\org.eclipse.osee.server.p2\initializeDB.bat or can be reached by clicking here. This script should open Command Prompt and run database initialization tasks through the OSEE server.
If you are using a Linux machine, run the equivalent initializeDB.sh shell script in your terminal. This is located at plugins\org.eclipse.osee.server.p2\initializeDB.sh or can be reached by clicking here.
In your browser of choice, navigate to the OSEE Website. When running locally, the website will exist at http://localhost:8089/osee/ple.
You will be presented with convenient navigation buttons to various OSEE features. Additionally, clicking the hamburger (three stacked lines) icon on the top left of your screen, you will be presented with additional navigation options that are accessible from anywhere in the site.
In your browser, open developer tools (F12) and navigate to the local storage section.
Firefox: F12 → Storage → Local Storage → http://localhost:8089 Edge and Chrome: F12 → Application → Storage → Local Storage → http://localhost:8089
Add the following row:
osee.account.id value: 3333You should now be able to authenticate with the demo server and view data. If you receive a 401 error, either the local storage was not set correctly in the browser, or the database was not properly initialized.
Note: Authenticating this way is only possible when running a demo application server. A production application server will not permit this.
Note: If you would rather utilize docker for a simplified setup process, please see the alternate PostgreSQL Docker instructions.
Download the latest PostgreSQL version for you operating system from http://www.postgresql.org/download. PostgreSQL 16.3 for Windows can be downloaded directly using this download link.
After downloading, follow the PostgreSQL installation wizard instructions. Unless required, do not change the default port number (5432)
By default, the PostgreSQL database server is configured to allow only local connections. If remote connections are to be allowed, edit postgresql.conf and pg_hba.conf to set the necessary permissions.
To setup an unsecured database instance (only needed if you are using an older postgres driver):
listen_addresses = '*' in postgresql.conf (located in the \PostgreSQL\[version]\data directory)host all all 0.0.0.0/0 trust in pg_hba.conf (located in the \PostgreSQL\[version]\data directory)osee userCreate → Login/Group Role...osee user under Login RolesDatabases item in the treeosee database by right-clicking on Databases and selecting Create → Database...osee Database under Databasesosee and then expand it, then expand Schemasosee schema:Schemas and select Create → Schema...osee schema under schemasshared_preload_libraries = 'pg_stat_statements' in postgresql.confcreate extension pg_stat_statements;Note: If you would rather utilize docker for a simplified setup process, please see the alternate OSEE Server Docker instructions.
Download and install the Latest Demo Application Server Build from the OSEE Downloads Page.
Alternatively you can use this direct link to download the demo application server.
Navigate to your downloads directory, right click org.eclipse.osee.server.runtime.zip, and extract using your preferred extraction program (WinZip, 7-Zip, etc.).
If you are using Windows machine, double click the runPostgrSqlLocal.bat file in the extracted org.eclipse.osee.server.runtime directory. This should open Command Prompt and display the running server's log output.
If you are using a Linux machine, run the equivalent runPostgreSqlLocal.sh shell script in your terminal.
Note: Closing your terminal window will stop the server.
If you are using Windows machine, double click the initializeDB.bat file in the extracted org.eclipse.osee.server.runtime directory. This should open Command Prompt and run database initialization tasks through the OSEE server.
If you are using a Linux machine, run the equivalent initializeDB.sh shell script in your terminal.