Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
gio-del edited this page Feb 2, 2023 · 12 revisions

Installation Guide

TL;DR: youtube

Install Docker

Install from here. Please be sure before continuing that you started also Docker after the installation. This is needed to start up the Daemon on which the container will run.

Cloning The Repo

git clone https://github.com/gio-del/BattistonDeLuciaCurro-swe2.git

Go into the ITD directory

cd itd

Build and Run the container

docker-compose build
docker-compose up

It will take a while to pull all the required images and to build the files (up to 10 minutes on the first start up)

Use the App

Navigate to http://127.0.0.1:5173/home

Registration

  • To use the app you need to be authenticated then register an account (Signup) or login (Login).
  • During the Signup phase it will be asked to insert a code sent via SMS. We DO NOT send it via SMS, we use a mock API.
  • You can find your code in the DB via http:localhost/8080 (as before) selecting the table cpo_code or driver_code (depending on your chose role)
  • Or you can find the code in the docker log

Two fake account are already created

  • Driver: PhoneNumber = 1231231231 Password = Password17!
  • CPO: email: company@company.xyz Password = Password17!

Troubleshoot docker-compose

If you see an error like this:

It means that the docker daemon necessary to run containers is not up and running. In Windows you just need to open Docker Desktop and it will start automatically.

Need help? Contact one of us via the mail in the README.md