Skip to content

RicardoGomes07/Instant-Messaging-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAW project

50494 a50494@alunos.isel.pt
50552 a50552@alunos.isel.pt
50549 a50549@alunos.isel.pt

Users already created:

  1. email: django@email.com, password: unchained
  2. email: darkknight@email.com, password: bruceWayne

Instructions to run the project

Step 1: Install and configure dependencies

For Windows:
  1. Install Node.js dependencies and bundle the JavaScript code:

    cd ./code/js ; npm install ; npm run build
  2. Change to the JVM directory:

    cd ../jvm
  3. Build JVM and Postgres Docker images:

    .\gradlew.bat buildImageAll
  4. Start all services:

    .\gradlew.bat allUp
  5. Change to the project-host directory:

    cd ./project-host
  6. Scale the dynamic JVM service with all services up:

    docker compose up -d --scale instant-messaging-jvm-dynamic=3
  7. Change back to the JVM directory:

    cd ../
  8. Stop all services:

    .\gradlew.bat allDown
For Linux/macOS:
  1. Install Node.js dependencies and bundle the JavaScript code:

    cd ./code/js && npm install && npm run build
  2. Change to the JVM directory:

    cd ../jvm
  3. Build JVM and Postgres Docker images:

    ./gradlew buildImageAll
  4. Start all services:

    ./gradlew allUp
  5. Change to the project-host directory:

    cd ./project-host
  6. Scale the dynamic JVM service with all services up:

    docker-compose up -d --scale instant-messaging-jvm-dynamic=3
  7. Change back to the JVM directory:

    cd ../
  8. Stop all services:

    ./gradlew allDown

About

Instant Messaging app using Sping Boot, React and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors