Running RDM v14.5.0 Locally on MacOS

  • 2 February 2024
  • 0 replies
  • 76 views
Running RDM v14.5.0 Locally on MacOS
Userlevel 3
Badge +2

Download links: https://support.ataccama.com/home/downloads/14.5.0

Steps overview:

  1. Download all components
  2. Install ONE Desktop
  3. Launch ONE Desktop and create the RDM Banking example project
  4. Place the files in the right structure
  5. Modify a bunch of files so they are working on MacOS
  6. Configure the Mac permissions to run things
  7. Launch ONE Desktop and create the RDM Banking example project
  8. Launch it all (keycloak, postrgres), one by one

Download:

Install ONE Desktop:

Launch ONE Desktop and create the RDM Banking example project:

  • Open ONE Desktop and in the Model Explorer, select New and then Model Project
  • In Use template: select Reference Data Manager - Banking Example & rename the project to rdm-banking

Place the files in the right structure:

‼️ To run the .sh scrips successfully, they need to be placed in a path that contains no spaces.

  • Close the ONE Desktop and rename the ONE Desktop so there’s no spaces (i.e. ONEDesktop)
    • If ONE Desktop is open while it’s renamed, it’ll cause several issues downstream!
  • Paste all 4 folders (rdm, keycloak, pgsql, rdm-server) in the Contents/Eclipse folder

Rdm

  • Open the application.properties file located in rdm/etc and uncomment all the lines
  • Add the following lines to the end of the file

spring.mail.host=smtp.gmail.com spring.mail.port=587

spring.mail.username=user 

spring.mail.password=password 

spring.mail.default-encoding=utf-8

spring.mail.properties.mail.transport.protocol=smtp 

spring.mail.properties.mail.smtp.port=25

spring.mail.properties.mail.smtp.auth=true

spring.mail.properties.mail.smtp.starttls.enable=true 

spring.mail.properties.mail.smtp.starttls.required=true 

Modify .sh files:

  • Delete the postgres_data folder in the pgsql/data

Configure the Mac permissions:

  • Open the Terminal (command+Space+Terminal) and navigate to /Applications/ONEDesktop.app/Contents/Eclipse
    • Run CHMOD -R 777 . (the "." is intentional)
    • Run xattr -r -d com.apple.quarantine .
  • Navigate to /Applications/ONEDesktop.app/Contents/Eclipse/pgsql
    • • Type chmod -R 0700 .
  • Navigate to /Applications/ONEDesktop.app/Contents/MacOs
    • Type CHMOD -R 777 .

Launch them all, one by one:

  • Open Files/bin folder in the Reference Data Manager - Banking Example
  • Launch keycloak: double-click on start_keycloak.sh and wait for Keycloak startup complete message to appear in the console
  • Launch postgres: double-click on start_postgres.sh
  • Launch rdm: double-click on start_rdm.sh
  • Launch rdm-server: double-click on start_server.sh

💪 Once everything starts and If everything launched correctly, you can find

Login into the application with the default credentials: username: admin, password: admin


0 replies

Be the first to reply!

Reply