/wmOffline

waimai offline dev tool

Primary LanguageJavaScript

wmOffline

waimai offline dev tool

![NPM version][npm-image] ![npm download][download-image]

##install

npm install -g wm-offline

##usage

wm-offline start

##config add offline-config.json to the root of your project

{
	"root": "./examples",
	"deploy": [
		{
			"receiver": "http://cp01-shimiao01.epc.baidu.com:8797/receiver.php",
			"to": "/home/map/odp_cater/webroot/static/offline"
		}
	]
}

##receiver

php version https://github.com/fex-team/fis-command-release/blob/master/tools/receiver.php

node version https://github.com/fex-team/receiver