Code Monkey home page Code Monkey logo

vertx-zero-scaffold's Introduction

操作步骤

基础项 说明
前端 http://ox.server.cn:6001/zo/login/index
后端 http://ox.server.cn:6081

1. 添加host地址

# Mac, /private/etc/hosts
# Windows, C:/Windows/System32/drivers/etc/hosts
127.0.0.1     ox.server.cn
127.0.0.1     ox.engine.cn

2. 初始化后端

2.1. 编译Zero

由于使用了Zero的最新版,先下载编译:

git clone https://github.com/silentbalanceyh/vertx-zero
cd vertx-zero
mvn clean package install

2.2. 代码下载后编译

git clone https://github.com/silentbalanceyh/vertx-zero-scaffold
cd vertx-zero-scaffold
# ./build.sh
mvn clean package install

2.3. 数据库设置

配置项 说明
数据库 DB_SCAFFOLD
工作流库 DB_SCAFFOLD_WF
账号 zero
密码 (参考加密教程)
端口 3306
# 1. 进入数据库初始目录
cd zo-module/zo-commerce/script/database
#    执行脚本
./database.reinit.sh
# 执行完成后,数据库中会多出 DB_SCAFFOLD, DB_SCAFFOLD_WF 表

# 2. 进入启动器根目录
cd zo-app/
#    初始化表
./init.db.sh
# 执行完成后,数据库中 DB_SCAFFOLD 会出现数据表

# 3. 加载数据(加载界面如下图)
cn.vertxup.ZoLoader(执行类)

doc

2.4. 启动后端(配置如上图)

注意图中绿色方框内配置部分

cn.vertxup.ZoAgent(执行类)
( Http Server ) ZeroHttpAgent Http Server has been started successfully. Endpoint: http://198.18.41.180:6085/

vertx-zero-scaffold's People

Contributors

silentbalanceyh avatar chundcm 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.