Skip to content

zhanglei923/rk-offlinedev

Repository files navigation

rk-offlinedev

NOTICE:

This is a PRIVATE toolkit, to Copy/Integrate/Clone/Mondify/Publish please contact the author. This tookit is NOT allowed to be used in Liability/Trademark use/Patent use/Warranty purposes.

How to use:

  1. First, make sure you have git and nodejs installed.
  2. Then, clone apps-ingage-web into your local drive.
  3. Now go to the parent folder of your local apps-ingage-web project.
    1. Example: if your web folder is D:\workspaces\apps-ingage-web, then it should be D:\workspaces\
  4. Stay in this folder and run command git clone https://github.com/zhanglei923/rk-offlinedev.git
  5. Run cd rk-offlinedev
  6. Run npm install or yarn install
  7. If windows, Run node server.js Or, if mac/linux, Run sudo node server.js
  8. Open your browser and visit http://localhost:666/ or https://localhost

警告: 这是私有项目,若非团队成员,禁止任何拷贝/集成/修改/发布,若要进行上述行为,请联系作者。本工具不允许用于商务/商标使用/专利使用/授权等用途。

使用说明:

  1. 先确保你本机已经安装了最新的nodegit。(如果已有请忽略)
  2. 先将apps-ingage-web工程clone到你本地的目录,并checkout到最新分支。(如果已有请忽略)
  3. 将offlinedev,也就是本工程clone到web工程所在的目录。也就是说rk-offlinedev工程和web工程必须是平行目录的关系。
  4. 打开命令行,进入新clone的rk-offlinedev这个目录,执行这些命令:
  5. npm install,或者 yarn install
  6. 如果你是window系统,执行node server.js 如果你是mac或linux,需要加sudo:sudo node server.js
  7. 如果提示成功,那么打开浏览器,访问http://localhost:666/ 或者 https://localhost
  8. 如果你同时有多个web项目,可以修改这个文件指向你想调试的web工程:./rk-offlinedev/user-config.json,比如设成:"webProjectPath": "E:/workspaces/apps-ingage-web"

LISCENSE:

Creative Commons Zero v1.0 Universal