File tree Expand file tree Collapse file tree
modules/jooby-cli/src/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,6 +180,8 @@ public class CreateCmd extends Cmd {
180180 ctx .copyResource ("/cli/conf/application.conf" , confDir .resolve ("application.conf" ));
181181 ctx .copyResource ("/cli/conf/logback.xml" , confDir .resolve ("logback.xml" ));
182182
183+ ctx .writeTemplate ("README.md" , model , projectDir .resolve ("README.md" ));
184+
183185 if (gradle ) {
184186 gradleWrapper (ctx , projectDir , model );
185187 }
Original file line number Diff line number Diff line change 1+ # {{ artifactId }}
2+
3+ Welcome to {{ artifactId }} !!
4+
5+ ## running
6+
7+ {{ #if gradle }} ./gradlew joobyRun{{ else }} mvn clean jooby:run{{ /if }}
8+
9+ ## building
10+
11+ {{ #if gradle }} ./gradlew build{{ else }} mvn clean package{{ /if }}
12+
13+ {{ #if docker }}
14+ ## docker
15+
16+ docker build . -t {{ artifactId }}
17+ docker run -p 8080:8080 -it {{ artifactId }}
18+ {{ /if }}
You can’t perform that action at this time.
0 commit comments