Skip to content

Minimalist application with no features and plugins including

Notifications You must be signed in to change notification settings

grace-guides/gs-minimalist

Repository files navigation

Main branch build status Apache 2.0 license Grace on X

Groovy Version Grace Version Spring Boot Version

Minimalist App

Grace Version

  • Grace 2023.3.0-M1

Creating a minimal app

$ grace -v

------------------------------------------------------------
Grace 2023.3.0-M1
------------------------------------------------------------

Build time:   2025-01-18 09:29:32 UTC
Revision:     aa7c12149bac9659bec45fe58b188a134b0474ec

Spring Boot:  3.3.7
Gradle:       8.12
Groovy:       4.0.24
JVM:          17.0.12 (Azul Systems, Inc. 17.0.12+7-LTS)
OS:           Mac OS X 12.7.6 aarch64

Creating an app by using Grace CLI,

$ grace create-app grace.apps.minimalist --minimal

Now you get,

.
├── app
│   ├── conf
│   └── init
├── buildSrc
│   └── build.gradle
├── gradle
│   └── wrapper
├── src
│   ├── main
│   └── test
├── HELP.md
├── README.md
├── build.gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
└── settings.gradle

9 directories, 8 files

Execute grace run-app or ./gradlew bootRun,

> Task :bootRun

               ______
              / _____)
 o  o   o  o | /  ___   ____   ____   ____   ____
  \/ \^/ \/  | | (___) / ___) / _  | / ___) / _  )
   \_____/   | \____/|| |    ( ( | |( (___ ( (/ /
    =====     \_____/ |_|     \_||_| \____) \____)
  ================================================
  :: Grace ::                       (v2023.3.0-M1)

2025-01-19 07:48:35.929  INFO --- [  restartedMain] grace.guides.Application                 : Starting Application using Java 17.0.12 with PID 97859 (/Users/rain/Development/github/grace/grace-guides/gs-minimalist/build/classes/groovy/main started by rain in /Users/rain/Development/github/grace/grace-guides/gs-minimalist)
2025-01-19 07:48:35.929 DEBUG --- [  restartedMain] grace.guides.Application                 : Running with Spring Boot v3.3.7, Spring v6.1.16
2025-01-19 07:48:35.930  INFO --- [  restartedMain] grace.guides.Application                 : The following 1 profile is active: "development"
2025-01-19 07:48:35.947  INFO --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2025-01-19 07:48:35.947  INFO --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2025-01-19 07:48:36.174  INFO --- [  restartedMain] g.plugins.DefaultGrailsPluginManager     : Total 1 plugins loaded successfully, take in 19 ms
2025-01-19 07:48:36.351  INFO --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2025-01-19 07:48:36.356  INFO --- [  restartedMain] o.a.coyote.http11.Http11NioProtocol      : Initializing ProtocolHandler ["http-nio-8080"]
2025-01-19 07:48:36.357  INFO --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-01-19 07:48:36.357  INFO --- [  restartedMain] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.34]
2025-01-19 07:48:36.375  INFO --- [  restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2025-01-19 07:48:36.375  INFO --- [  restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 428 ms
2025-01-19 07:48:36.489  WARN --- [  restartedMain] .b.a.g.t.GroovyTemplateAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false)
2025-01-19 07:48:36.545  INFO --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2025-01-19 07:48:36.557  INFO --- [  restartedMain] o.a.coyote.http11.Http11NioProtocol      : Starting ProtocolHandler ["http-nio-8080"]
2025-01-19 07:48:36.562  INFO --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2025-01-19 07:48:36.568  INFO --- [  restartedMain] grace.guides.Application                 : Started Application in 0.771 seconds (process running for 1.124)
2025-01-19 07:48:36.585 DEBUG --- [  restartedMain] grace.guides.Application                 :
----------------------------------------------------------------------------------------------
        Application:   gs-minimalist
        Version:       0.0.1-SNAPSHOT
        Environment:   development
        Local:         http://localhost:8080
        External:      http://192.168.5.9:8080
----------------------------------------------------------------------------------------------

Links

About

Minimalist application with no features and plugins including

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages