Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

lisienskenderi/ByteOps-MVP

Repository files navigation

build Coverage Status Codacy Badge
linting: pylint pylint

InnovaCity

Progetto del corso di [Ingegneria del Software 2023-2024]

Utilizzo

Avvio tramite docker

docker compose --profile prod up -d 

Accesso dashboard

Admin

  • Username: admin
  • Password: admin

User

  • Username: user
  • Password: user

Per fermare tutti i container

docker compose --profile prod down

Per connettersi a clickhouse con client e ed effettuare query:

docker exec -it clickhouse clickhouse-client

Un possibile fix in caso non funzioni:

winpty docker exec -it clickhouse clickhouse-client

TEST

Per eseguire i test automaticamente:

docker compose --profile test up -d

Per riavviare il container dei test:

docker restart tests

Per avviare specifici test

docker exec tests pytest <file_path>

Per avviare specifici test con possibilità di vedere le print

docker exec tests pytest --capture=no <file_path>

Gli UML sono presenti in \UMLModel

Per generare uml:

pyreverse <folder_path>

Con attributi:

pyreverse -f ALL <folder_path>

Problemi docker su pull immagini locali:

  • Se si riscontrano errori "pull access denied, repository does not exist or may require authorization:", provare a risolvere nel seguente modo:
  • Aprire Docker Desktop
  • Settings
  • Docker Engine
  • Aggiungere:
  "features": {  
    "buildkit": false  
  }
  • Riavviare Docker Desktop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages