Skip to content

A project developed as part of Internet Software Architecture - an Applied Computer Science subject on Faculty of Technical Sciences.

License

Notifications You must be signed in to change notification settings

One-E2-Team/ISA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISA

A project developed as part of Internet Software Architecture - an Applied Computer Science subject on Faculty of Technical Sciences.

Sonarcloud

posljednja verzija CD-a se nalazi na cd-preparations branchu

Heroku backend - ne radi, pretpostavka je da je to zato što heroku ne podržava java15

Heroku frontend

Task 5.4 pdf

QR kodovi

insert.sql

PR Validation

CI

Instrukcije za pokretanje:

Frontend:

potrebno je imati npm i pozicionirati se u folder isafrontend/frontend; zatim instalirati node module sa npm install i pokrenuti server na portu 8080 npm run serve

moguće je i build-ovati frontend sa npm run build, u tom slučaju, statički, minifikovani fajlovi će se nalaziti u folderu /dist

ako je potrebno promijeniti port backend servera (8083), to se moze uratiti u src/configuration/communication.js

Backend

koristi se java jdk 15

root projekta se nalazi u /isabackend

Potrebne environment varijable:

  • DB_ISA_PASSWORD=password
  • DB_ISA_PORT=3306
  • DB_ISA_SCHEMA=test
  • DB_ISA_SERVER=localhost
  • DB_ISA_USERNAME=root
  • ISA_MAIL_PASSWORD=oNeE2tEaM
  • ISA_MAIL_USERNAME=[email protected]
  • ISA_SPRING_HOST=localhost
  • ISA_SPRING_PORT=8083

Ako postoji PORT varijabla, ona ima veći prioritet od ISA_SPRING_PORT

Baza

najlakša opcija jeste

docker run --name db -d -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=test -p 3306:3306 -p 33060:33060 mysql

Workbench

Iz raznoraznih, poluneobjašnjivih razloga, ne radi spring hibernate automatsko popunjavanje baze preko skripta scheme.sql i data.sql, zbog toga, prepuštamo hibernate-u da nakon 126 errora :) sam kreira šemu baze (ako se ta ista šema export-uje i da springu - ne radi - što je veoma fascinantno :)))) ) zbog toga je potrebno koristiti neki mysql client za popunjavanje baze inicijalnim podacima, preporučujemo MySQL Workbench 8.0 CE

About

A project developed as part of Internet Software Architecture - an Applied Computer Science subject on Faculty of Technical Sciences.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •