美文网首页
Nodejs Ruby Jekyll Forever 环境安装

Nodejs Ruby Jekyll Forever 环境安装

作者: 平谦 | 来源:发表于2017-03-20 16:12 被阅读22次
  1. node 源文件
    https://npm.taobao.org/mirrors/node/latest/

根据系统下载对应的node安装包

2.解压 tar -zxv -f node-v...

3.进入到[node]/bin 文件夹下 可以看到2个脚本 node npm
试试直接运行 ./node -v 如果可以显示版本表示可以运行

4.添加环境变量并且使它生效 (中括号中内容是你自己的node脚本路径)
export PATH=[/usr/local/node/bin]:$PATH

5.安装好node环境之后,安装一些工具,例如jekyll和forever用来部署前端网站。

forever

jekyll

  • 0.安装jekyll需要安装ruby,ruby自带gem命令,gem之于ruby相当于npm之于node.js : RubyGems is a sophisticated package manager for Ruby.

相关文章

网友评论

      本文标题:Nodejs Ruby Jekyll Forever 环境安装

      本文链接:https://www.haomeiwen.com/subject/becinttx.html