Giter VIP home page Giter VIP logo

lealone-create-app's Introduction

Lealone-Create-App

用于创建 Lealone 应用的脚手架

构建

mvn package -Dmaven.test.skip=true

生成的文件放在 target 目录

运行

进入 target 目录,运行: java -jar create-lealone-app-6.0.0.jar [选项]

支持以下选项:

    -help
            打印帮助信息

    -appBaseDir <dir>
            应用根目录 (默认是当前目录)

    -appName <name>
            应用名称 (如果不指定,默认取 -artifactId 的值,-appName 和 -artifactId 必须至少设置一个)

    -groupId <id>
            pom.xml 的 groupId (必须设置)

    -artifactId <id>
            pom.xml 的 artifactId  (如果不指定,默认取 -appName 的值,-appName 和 -artifactId 必须至少设置一个)

    -version <版本号>
            pom.xml 的项目初始版本号 (默认是1.0.0)

    -packageName <包名>
            项目代码的包名 (如果不指定,默认取 -groupId 的值)

    -encoding <编码>
            指定生成的文件采用的编码 (默认是 UTF-8)

    -singleModule <true|false>
            是否是单模块项目 (默认是 true)

例如创建一个 hello 应用

java -jar create-lealone-app-6.0.0.jar -groupId com.lealone.examples.hello -artifactId hello

构建 hello 应用

cd hello

build -p

运行 hello 应用

cd target\hello-1.0.0\bin

lealone

打开页面

http://localhost:9000/

lealone-create-app's People

Contributors

codefollower avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.