Simple web application to demonstrate how to use Vert.x and Vue.js together.
For deploying the app you will need the following tools installed in your machine:
- Linux (I'm using Ubuntu 18.04).
- Docker.
- JDK 13 with proper
$JAVA_HOME
configured. - Apache Maven.
Once you have all of this installed follow these steps:
bash deploy.sh
or
chmod a+x deploy.sh && ./deploy.sh
- Build image:
docker build -f docker/Dockerfile.mysql -t mysql .
- Run container:
docker run -i --rm -p 3306:3306 -d --name mysql mysql
- For shell access while the docker image is running (optional):
docker exec -it mysql bash
- Build image:
docker build -f docker/Dockerfile.jre -t jre .
- Run container:
docker run -i --rm -p 8080:8080 -d --name jre jre
- For shell access while the docker image is running (optional):
docker exec -it jre bash
Now you can open the app in a web browser: http://localhost:8080