forked from marg-o/brigate
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.
|
3 years ago | |
---|---|---|
.settings | 3 years ago | |
WebContent | 3 years ago | |
docker | 3 years ago | |
sql | 3 years ago | |
src | 3 years ago | |
.classpath | 3 years ago | |
.dockerignore | 3 years ago | |
.gitignore | 3 years ago | |
.project | 3 years ago | |
Dockerfile | 3 years ago | |
Dockerfile.build | 3 years ago | |
README.md | 3 years ago | |
docker-compose.yml | 3 years ago | |
pom.xml | 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