Gestionale per il centralino della brigata di zona 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
blallo 625f1d23d0
Bump version 0.2.0
3 years ago
.settings Magic with eclipse, convert to maven project 3 years ago
WebContent -- login - logout - registrazione 3 years ago
docker Add docker runner env 3 years ago
sql Adapt again for mysql 3 years ago
src Adapt again for mysql 3 years ago
.classpath Magic with eclipse, convert to maven project 3 years ago
.dockerignore Add docker runner env 3 years ago
.gitignore Add docker builder env 3 years ago
.project Magic with eclipse, convert to maven project 3 years ago
Dockerfile Bump version 0.2.0 3 years ago
Dockerfile.build Add docker builder env 3 years ago
README.md Bump version 0.2.0 3 years ago
docker-compose.yml Bump version 0.2.0 3 years ago
pom.xml Bump version 0.2.0 3 years ago

README.md

Centralino Brigate

App in jsp per sostegno all'attività delle brigate di solidarietà.

How to

Prerequisiti

  • docker
  • docker-compose

Dev

Se si vuole tirar su un ambiente di sviluppo locale con tomcat e un db mysql

$ docker-compose up

Si troverà l'app a http://localhost:8080/centralino_brigate-0.2.0/. ATTENZIONE: NON è production-safe!

Se si vuole buildare l'artifatto (output in war nella cartella target/), per prima cosa creare l'immagine per il processo di build con maven (solo la prima volta):

$ docker build -t unit/mvn-builder:latest -f Dockerfile.build .

Dopo di che:

$ docker run --rm -v $PWD:/src -t unit/mvn-builder:latest

Se si vuole dettaglio sul processo di build

$ docker run --rm -v $PWD:/src -t unit/mvn-builder:latest -e -X clean install

Prod

TODO