Small (one-file) spring-boot application to run experiments. https://en.wikipedia.org/wiki/Nanobe
- Install spring-boot cli
- Run:
./builder run
ORspring run *.groovy
- Build jar:
./builder jar
ORspring jar nanobe.jar .
- Build:
./builder dockerBuild
ORspring jar nanobe.jar . && docker-compose build
- Build and run:
./builder dockerRun
ORspring jar nanobe.jar . && docker-compose up
- Open
- Open Module Settings
- Project: setup the SDK
- Modules: mark the root as
Sources
and the config asResources
- Facets: add Spring (don't forget to add the Application Context)
- Global Libraries: add Groovy
Alt+Enter
on@Grab
: Grab the artifacts