9 Star 0 Fork 0

好大棵葱吖 / restack-mobile-gitbook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
INSTALLATION.md 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
hibad1 提交于 2017-01-03 11:18 . 修改文件名

SDK安装

如何安装

在移动平台下载restack-mobile项目包,打开控制台,输入指令

npm i -g cli-0.2.0.tgz

//npm i -g ./path/restack-mobile cli-0.2.0.tgz

注:安装该项目之前,要求本机系统有node.js

也可以通过npm进行安装, 在命令行输入:

$ npm install -g restack-mobile

如何运行

在安装成功之后,在控制台输入restack-mobile,若出现以下字段,则安装成功,可继续创建项目

Usage: restack-mobile [options] [command]


  Commands:

    create      create a restack-mobile project
    run         run integrated restack application
    build       builds a restack-mobile application
    help [cmd]  display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

  Examples:

   1.create project
    $ restack-mobile create
    $ restack-mobile create -n prjectname -p /anypath

   2.build project under project dir
    $ restack-mobile build

   3.run dev mode under project dir
    $ restack-mobile run

   4.run prod mode after project was built
    $ restack-mobile run -e prod
JavaScript
1
https://gitee.com/onion_stu/restack-mobile-gitbook.git
git@gitee.com:onion_stu/restack-mobile-gitbook.git
onion_stu
restack-mobile-gitbook
restack-mobile-gitbook
master

搜索帮助