Skip to content

nardost/se452-g6

Repository files navigation

G6 Utilities Build Status

A Utility Services Management & Billing System

SE452: Object-Oriented Enterprise Computing

GROUP 6

  1. Matthew James (matthewmorelandjames@gmail.com)
  2. Christian Kleinvehn (ckleinvehn@gmail.com)
  3. Pedro Rebollar (prebolla15@gmail.com)
  4. Nardos Tessema (nardos.tessema@gmail.com)

Project Modules

g6-utilities
    ├── accounts
    ├── billing
    ├── commons
    ├── facilities
    ├── on-premise-monitor-simulator
    ├── payment
    ├── payment-processor-simulator
    ├── service-delivery-and-monitoring
    └── ui

Running Instructions (Command Line)

  1. Go to the project root directory

  2. Set environment variables

    List of 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_PASSWORD
    

    Examples:

    Setting them individually

    $ export SPRING_PROFILES_ACTIVE=dev

    In Windows, open the command line tool and run:

    C:\Path\To\Project\Directory> SET SPRING_PROFILES_ACTIVE=dev
    

    Using a configuration script (not added to source code repository)

    Create script file & export the env variables

    $ vim .config/config.sh

    In Windows, create batch file & set the env variables:

    C:\Path\To\Project\Directory>notepad .config\config.bat

    Run script

    $ source ./.config/config.sh
    

    In Windows, run batch file

    C:\Path\To\Project\Directory>.config\config.bat
    
  3. Build

    $ mvn clean package

  4. 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
    
  5. Run the application

    Browse to http://localhost:8080 with Chrome/Firefox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •