fis3 jello Mac 实践

本文基于我手下项目使用的fis3+jello + sass 架构。


一、安装

1、先去nodejs官方下载最新版本nodejs(v6.2.2),并安装好

2、安装fis3 相关包

sudo npm install -g fis3 

sudo npm install -g fis-parser-marked

sudo npm install -g fis3-hook-amd

sudo npm install -g fis3-jello

sudo npm install -g --unsafe-perm [email protected] 这里暂时必须这样安装 要不会入坑

3、安装java 支持 jdk 这里直接去java 官网下载或者Mac 里下载都可以。本人用的jdk7u_80

二、开发

1、本地模式开发

sudo fis3 release

sudo fis3 server start --timeout 30 --port 8090

sudo fis3 release -w

2、与myeclipse一起联调后台

sudo fis3 release local -w

3、发布项目到服务器

sudo fis3 release prod


注意:学习这个需要熟悉fis3结构。npm 如果比较慢 切换到cnpm。

你可能感兴趣的:(fis3 jello Mac 实践)