zsysb
中石油书吧APP管理后台
Last updated 2 years ago by felixyinnpm .
Original npm · Tarball
$ cnpm install zsysb 
SYNC missed versions from official npm registry.

运行步骤:

1:安装mysql数据库

2:配置如下环境变量:

MYSQL_CONNECTION_LIMIT(连接池大小,整数值)

MYSQL_IP(数据库服务器的ip地址)

MYSQL_USERNAME(必须是root账户)

MYSQL_PASSWORD(root账号密码)

MYSQL_SCHEMA(库名,随便起名,不用提前建好数据库)

ZSYSB_PORT(web应用端口)

3:在服务器安装配置pdf2htmlEX,具体安装过程请百度

4:服务安装 npm install zsysb -g

5:直接运行如下命令启动 nohup zsysb &

6:浏览器地址栏输入 http://server ip:ZSYSB_PORT

命令行启动方式:

usage: nohup zsysb [options]

options:

-p ZSYSB_PORT(web), default 3333

-t MYSQL_PORT(db), default 3306

-a MYSQL_IP,default 127.0.0.1

-c MYSQL_CONNECTION_LIMIT, default 50

-u MYSQL_USERNAME, default root

-w MYSQL_PASSWORD, default 123456

-m MYSQL_SCHEMA, default zsy_sb

-g --kill Stop web application

-h --help Print this list and exit.

-v --version Print the version and author

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (43)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |