【发布时间】:2012-03-11 23:28:27
【问题描述】:
我正在编写一个包含一些 CoffeeScript 的 Django 应用程序。为此,我使用了 django-compressor,它在启动应用程序之前将 CoffeeScript 编译为 JS。 django-compressor 需要在机器上安装 NPM 才能编译 CoffeeScript。
现在我想在 Heroku 上部署这个应用程序。我无法将 npm 放入我的 requirements.txt,所以我想知道如何在 Heroku 服务器上获取 npm?
【问题讨论】:
标签: django heroku coffeescript npm