【发布时间】:2014-06-18 05:28:38
【问题描述】:
我用https://github.com/tommy351/hexo 创建一个博客并希望部署到heroku
hexo指令
Installation
$ npm install hexo -g
Quick Start
Setup your blog
$ hexo init blog
$ cd blog
$ npm install
Start the server
$ hexo server
Create a new post
$ hexo new "Hello Hexo"
Generate static files
$ hexo generate
我在本地创建并将应用程序上传到heroku并报告:
Releasing to testApp... ....done, v3
看起来一切正常, 只是混淆如何执行命令行,例如
hexo ***
在heroku上
我执行了
heroku run "hexo server"
它总是说
bash: hexo: command not found
【问题讨论】: