Skip to content

NigelNelson/ML_Production_Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML_Production_Systems

Nigel Nelson, Collin Quinn

How to run Project 2:

  • Start Postgres if not already running:
    • pg_ctl start -D "C:\Program Files\PostgreSQL\15\data"
  • (IF NEEDED) stop postgres:
    • pg_ctl stop -m immediate -D "C:\Program Files\PostgreSQL\15\data"
  • Start minio (runs on port 53135):
    • ./minio server minio_data OR cd into minio folder, then 'minio.exe server minio_data
  • start email service (runs on port 8888):
    • POSTGRES_DATABASE=email_ingestion POSTGRES_USERNAME=ingestion_service POSTGRES_PASSWORD='puppet-soil-SWEETEN POSTGRES_HOST=localhost python email_service.py
  • Start mailbox service (runs on port 8889):
    • python mailbox_service.py
  • Start log collection:
    • MINIO_ACESS_KEY=log-depositor MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost:9000 MINIO_BUCKET=log-files LOG_FILE_PATH=./log_file.json python log_collection.py

How to run Project 3:

  • Ensure Minio and PostGres Database are running
  • Set the following Environment Variables:
    • TS_ACCESS_KEY=training_service
    • TS_SECRET_KEY=minioadmin
    • TS_ENDPOINT=http://127.0.0.1:9000
    • POSTGRES_USERNAME=ingestion_service
    • POSTGRES_PASSWORD=puppet-soil-SWEETEN
  • Run the Lab3.scala script

About

ML_Production_Systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published