首页 > 代码库 > 三分钟跑起jsblocks
三分钟跑起jsblocks
1下载代码
git clone https://github.com/astoilkov/jsblocks-seed.git
2安装依赖
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master) $ npm install | > jsblocks-seed@0.0.1 postinstall f:\home\qianduan\jsblocks-seed > cd app && bower install bower blocks#* not-cached https://github.com/astoilkov/jsblocks.git#* bower blocks#* resolve https://github.com/astoilkov/jsblocks.git#* bower blocks#* download https://github.com/astoilkov/jsblocks/archive/0.3.4.tar.gz bower blocks#* extract archive.tar.gz bower blocks#* resolved https://github.com/astoilkov/jsblocks.git#0.3.4 bower blocks#* install blocks#0.3.4 blocks#0.3.4 bower_components\blocks opener@1.4.2 node_modules\opener blocks@0.3.4 node_modules\blocks ├── parse5@1.4.1 └── express@4.10.6 (utils-merge@1.0.0, media-typer@0.3.0, fresh@0.2.4, parseurl@1.3.1, range-parser@1.0.3, merge-descriptors@0.0.2, cookie@0.1.2, s erve-static@1.7.2, escape-html@1.0.1, finalhandler@0.3.2, vary@1.0.1, content-disposition@0.5.0, cookie-signature@1.0.5, path-to-regexp@0.1.3, methods @1.1.0, depd@1.0.1, qs@2.3.3, on-finished@2.1.1, debug@2.1.3, send@0.10.1, proxy-addr@1.0.10, etag@1.5.1, type-is@1.5.7, accepts@1.1.4) blocks-cli@0.0.1 node_modules\blocks-cli ├── commander@2.9.0 (graceful-readlink@1.0.1) └── express@4.14.0 (escape-html@1.0.3, array-flatten@1.1.1, utils-merge@1.0.0, methods@1.1.2, content-type@1.0.2, parseurl@1.3.1, fresh@0.3.0, etag @1.7.0, encodeurl@1.0.1, cookie@0.3.1, serve-static@1.11.1, cookie-signature@1.0.6, content-disposition@0.5.1, vary@1.1.0, merge-descriptors@1.0.1, ra nge-parser@1.2.0, path-to-regexp@0.1.7, depd@1.1.0, qs@6.2.0, on-finished@2.3.0, finalhandler@0.5.0, debug@2.2.0, proxy-addr@1.1.2, type-is@1.6.14, ac cepts@1.3.3, send@0.14.1) bower@1.8.0 node_modules\bower
3跑起来
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master) $ npm start > jsblocks-seed@0.0.1 start f:\home\qianduan\jsblocks-seed > opener http://localhost:8000 && blocks static
(这样跑也行)
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master) $ npm run node > jsblocks-seed@0.0.1 node f:\home\qianduan\jsblocks-seed > opener http://localhost:8000 && node app.js
三分钟跑起jsblocks
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。