Vaadin webapp for displaying Checkstyle Synthax tree (AST) visually in browser
- Install Docker 1.9+, Java 8 and Maven 3.
- Run build-docker.sh
This script builds a Docker image with compiled app binaries which will be ready to run locally with command below:
docker run --rm --net host checkstyle/ast-web-viewer
- Deploy updated Docker image 'checkstyle/ast-web-viewer' to Docker Hub (howto, page at docker.io). Example:
sudo docker login
sudo docker tag checkstyle/ast-web-viewer daniilyar/checkstyle-ast-web-viewer:<version>
sudo docker push daniilyar/checkstyle-ast-web-viewer:<version>
- Deploy new app version to our public instance (212.47.237.40):
deployment/run.sh
DY: deploy script requires Ansible 1.9.4+ to be installed on your machine (pip install ansible==1.9.4
)
- Test how it works by opening http://ast-viewer.checkstyle.org/