You will need the following things properly installed on your computer.
Used Gradle, a cross-platform build automation tool that help with our full development flow. If you prefer install Gradle or use a Gradle wrapper inside this project.
git clone git@github.com:ClickChat/clickchat-api.gitthis repository- change into the new directory
clickchat-api
./gradlew clean build
./gradlew clean test
./gradlew javaDoc
As we want to run this REST-API in a Docker container, please take a look on a given Dockerfile.
The Dockerfile is simple and straightforward.
./gradlew build
docker build --tag="clickchat/rest-api:latest" .
docker run -d -p 8080:8080 -v /my/local/path/logs:/usr/local/tomcat/logs clickchat/rest-api:latest
Docker Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
./gradlew build
docker-compose up
- 1.0.0 (current)
