Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Nov 6, 2024
1 parent 93484a7 commit 33b5c75
Showing 1 changed file with 105 additions and 7 deletions.
112 changes: 105 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,109 @@
# gs-minimalist
[![Main branch build status](https://github.com/grace-guides/gs-spring-boot-test/workflows/Grace%20CI/badge.svg?style=flat)](https://github.com/grace-guides/gs-spring-boot-test/actions?query=workflow%3A%Grace+CI%22)
[![Apache 2.0 license](https://img.shields.io/badge/License-APACHE%202.0-green.svg?logo=APACHE&style=flat)](https://opensource.org/licenses/Apache-2.0)
[![Grace on X](https://img.shields.io/twitter/follow/graceframework?style=social)](https://twitter.com/graceframework)

This project is generated by Grace v2023.1.0-M3.
[![Groovy Version](https://img.shields.io/badge/Groovy-4.0.23-blue?style=flat&color=4298b8)](https://groovy-lang.org/releasenotes/groovy-4.0.html)
[![Grace Version](https://img.shields.io/badge/Grace-2023.1.0-blue?style=flat&color=f49b06)](https://github.com/graceframework/grace-framework/releases/tag/v2023.1.0-M3)
[![Spring Boot Version](https://img.shields.io/badge/Spring_Boot-3.1.12-blue?style=flat&color=6db33f)](https://github.com/spring-projects/spring-boot/releases)

### Versions
# Minimalist App

### Grace Version

* Grace 2023.1.0-M3
* Groovy 4.0.23
* Spring Boot 3.1.12
* Spring Framework 6.0.23
* Tomcat 10.1.31

### Creating a minimal app

```bash
$ grace -v

------------------------------------------------------------
Grace 2023.1.0-M3
------------------------------------------------------------

Build time: 2024-11-04 21:22:05 UTC
Revision: 027a9c58470ecd9cd2bc97e8a164142c888249a0

Spring Boot: 3.1.12
Gradle: 7.6.4
Groovy: 4.0.23
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,

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

Now you get,

```bash
.
├── 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`,

```bash
> Task :bootRun

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

2024-11-06 23:58:44.387 INFO --- [ restartedMain] grace.guides.Application : Starting Application using Java 17.0.12 with PID 21806 (/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)
2024-11-06 23:58:44.388 DEBUG --- [ restartedMain] grace.guides.Application : Running with Spring Boot v3.1.12, Spring v6.0.23
2024-11-06 23:58:44.388 INFO --- [ restartedMain] grace.guides.Application : The following 1 profile is active: "development"
2024-11-06 23:58:44.407 INFO --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2024-11-06 23:58:44.407 INFO --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2024-11-06 23:58:44.630 INFO --- [ restartedMain] g.plugins.DefaultGrailsPluginManager : Total 1 plugins loaded successfully, take in 20 ms
2024-11-06 23:58:44.956 INFO --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2024-11-06 23:58:44.960 INFO --- [ restartedMain] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8080"]
2024-11-06 23:58:44.961 INFO --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-11-06 23:58:44.961 INFO --- [ restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31]
2024-11-06 23:58:44.991 INFO --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-11-06 23:58:44.991 INFO --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 584 ms
2024-11-06 23:58:45.098 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)
2024-11-06 23:58:45.154 INFO --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2024-11-06 23:58:45.163 INFO --- [ restartedMain] o.a.coyote.http11.Http11NioProtocol : Starting ProtocolHandler ["http-nio-8080"]
2024-11-06 23:58:45.169 INFO --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2024-11-06 23:58:45.173 INFO --- [ restartedMain] grace.guides.Application : Started Application in 0.923 seconds (process running for 1.277)
2024-11-06 23:58:45.198 DEBUG --- [ restartedMain] grace.guides.Application :
----------------------------------------------------------------------------------------------
Application: gs-minimalist
Version: 0.0.1-SNAPSHOT
Environment: development
Local: http://localhost:8080
External: http://192.168.31.127:8080
----------------------------------------------------------------------------------------------
```
### Links
- [Grace Framework](https://github.com/graceframework/grace-framework)
- [Grace Guides](https://github.com/grace-guides)

0 comments on commit 33b5c75

Please sign in to comment.