编译源码

源码编译 #


编译源码你需要以下环境:

环境配置完成后即可下载源码进行编译:

### 下载源码
$ git clone https://github.com/cuzjs/cuz.git && cd cuz

### 安装依赖
$ sudo npm install

### 编译
$ make

文档站点编译 #


生成 #

$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ cd docs
$ gem update --system
$ gem install bundler
$ bundle install
$ bundle exec rake release

编写 #

$ bundle exec rake watch
$ bundle exec jekyll serve -w
$ open http://localhost:4000