jonatan-ivanov / nanobe

A small (one-file) spring-boot application to run experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nanobe

Small (one-file) spring-boot application to run experiments. https://en.wikipedia.org/wiki/Nanobe

How to use

  1. Install spring-boot cli
  2. Run: ./builder run OR spring run *.groovy
  3. Build jar: ./builder jar OR spring jar nanobe.jar .

Docker

  • Build: ./builder dockerBuild OR spring jar nanobe.jar . && docker-compose build
  • Build and run: ./builder dockerRun OR spring jar nanobe.jar . && docker-compose up

Open in IntelliJ

  1. Open
  2. Open Module Settings
  3. Project: setup the SDK
  4. Modules: mark the root as Sources and the config as Resources
  5. Facets: add Spring (don't forget to add the Application Context)
  6. Global Libraries: add Groovy
  7. Alt+Enter on @Grab: Grab the artifacts

About

A small (one-file) spring-boot application to run experiments


Languages

Language:Groovy 63.2%Language:Shell 23.0%Language:Dockerfile 13.8%