Skip to content

mkalkowski83/archetypes-kotlin

Repository files navigation

archetypes

Type Status
Release Release

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To run the project you need to install the following:

  • JDK 17 or newer
  • Docker

Building the application

The project uses Gradle as a build tool. It already contains ./gradlew wrapper script, so there's no need to install gradle.

To build the project execute the following command:

  ./gradlew build

Running the application

Create the image of the application by executing the following command:

  ./gradlew assemble

You can run this project directly from Gradle by executing the following command:

./gradlew bootRun

Otherwise, you can create docker image:

  docker-compose build

For Apple M1 processor run the following instead:

DOCKER_BUILDKIT=0 docker-compose build

Run the distribution (created in archetypes/build/install/archetypes directory) by executing the following command:

  docker-compose up && ./gradlew bootRun

This will start the API container exposing the application's port (set to 8080 in this app).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published