- Matthew James (matthewmorelandjames@gmail.com)
- Christian Kleinvehn (ckleinvehn@gmail.com)
- Pedro Rebollar (prebolla15@gmail.com)
- Nardos Tessema (nardos.tessema@gmail.com)
g6-utilities
├── accounts
├── billing
├── commons
├── facilities
├── on-premise-monitor-simulator
├── payment
├── payment-processor-simulator
├── service-delivery-and-monitoring
└── ui
-
Go to the project root directory
-
Set environment variables
1. SPRING_PROFILES_ACTIVE 2. POSTGRES_URI_LOCAL 3. POSTGRES_PORT_LOCAL 4. POSTGRES_DB_LOCAL 5. POSTGRES_USERNAME_LOCAL 6. POSTGRES_PASSWORD_LOCAL 7. POSTGRES_URI_AWS 8. POSTGRES_PORT_AWS 9. POSTGRES_DB_AWS 10. POSTGRES_USERNAME_AWS 11. POSTGRES_PASSWORD_AWS 12. MONGODB_AUTHENTICATION_DB_LOCAL 13. MONGODB_HOST_LOCAL 14. MONGODB_PORT_LOCAL 15. MONGODB_DATABASE_LOCAL 16. MONGODB_USERNAME_LOCAL 17. MONGODB_PASSWORD_LOCAL 18. MONGODB_USERNAME_ATLAS 19. MONGODB_PASSWORD_ATLAS 20. MONGODB_CLUSTER_URI_ATLAS 21. REDIS_LOCAL_HOST 22. REDIS_LOCAL_PORT 23. REDIS_LOCAL_PASSWORD 24. REDIS_CLOUD_HOST 25. REDIS_CLOUD_PORT 26. REDIS_CLOUD_PASSWORD 27. SSL_KEYSTORE_PASSWORD 28. SSL_KEY_PASSWORDExamples:
$ export SPRING_PROFILES_ACTIVE=devIn Windows, open the command line tool and run:
C:\Path\To\Project\Directory> SET SPRING_PROFILES_ACTIVE=devCreate script file & export the env variables
$ vim .config/config.shIn Windows, create batch file & set the env variables:
C:\Path\To\Project\Directory>notepad .config\config.batRun script
$ source ./.config/config.shIn Windows, run batch file
C:\Path\To\Project\Directory>.config\config.bat -
Build
$ mvn clean package -
Execute the two executable jar files on separate terminal windows
$ java -jar ui/target/ui-1.0-SNAPSHOT.jar $ java -jar on-premise-monitor-simulator/target/on-premise-monitor-simulator-1.0-SNAPSHOT.jar -
Run the application
Browse to
http://localhost:8080with Chrome/Firefox