Git Product home page Git Product logo

win-boot's Introduction

软件配置

jdk8, maven3.2.3

配置好java环境和maven私服地址

系统目录

api-web:签名过滤,参数校验,返回数据封装。

api-service:与各个rpc业务服务交互。

api-common:一些公用的类和函数。

打包

cd mxapi

mvn clean install -Dmaven.test.skip=true

在mxapi/api-web/target目录下,生成api-web-0.1-bin目录和api-web-0.1-bin.tar.gz包 ,api-web-0.1-bin.tar.就是由api-web-0.1-bin打包压缩而成。

部署

cd api-web-0.1-bin\api-web-0.1\lib

windows 开发测试环境:

start /b java-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -cp api-web-0.1.jar;../ mx.AdminWebApiBootstrap >nul 2>nul

linux 开发测试环境:

nohup java -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -cp api-web-0.1.jar:../ mx.AdminWebApiBootstrap >/dev/null 2>&1 &

linux 生产环境:

nohup java -server -Xms1024m -Xmx4096m -XX:PermSize=256M -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -cp api-web-0.1.jar:../ mx.AdminWebApiBootstrap >/dev/null 2>&1 &

win-boot's People

Contributors

winingos avatar

Watchers

James Cloos avatar  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.