Code Monkey home page Code Monkey logo

one-client's Introduction

客户端安装文件打包

安装环境

打包开始前,需要安装下列软件

克隆打包代码

git clone http://192.168.1.211/root/client-package.git

安装依赖

联网环境下,在工程根目录执行

npm install

完成后生成node_modules 文件夹,即使该文件夹已经存在,也请再执行一次。

修改配置

根据Inno Setup安装路径和Inno Setup打包配置文件路径的不同

修改setup文件夹下的setup.js 文件,修改下列2处

exports.InnoSetupPath = "D:\\InnoSetup5\\ISCC.exe";

exports.InnoSetupConfig = "E:\\work\\one\\setup\\";

InnoSetupPathInno Setup安装根目录下ISCC.exe的绝对路径

InnoSetupConfigsetup文件夹的绝对路径

拷贝应用代码

将应用代码拷贝到app文件夹 下, 需要拷贝distdatapackage.json 。拷贝前最好先删除。

注意确保package.json中的配置正确,主要是确认serverPath参数

生成安装包

在工程根目录执行

gulp package -name=工程名

工程名目前可以填写

imms 实施管理系统

ythpt 一体化平台

xlcb 小类串并

完成后在C盘生成windows安装包。

one-client's People

Contributors

geeyip avatar

Watchers

 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.