我使用模板reagent-frontend创建了一个ClojureScript Reagent应用程序。如何将生产应用程序部署到Heroku?在构建生产环境之后(
当我尝试推送
lein package
/ lein cljsbuild once release
),leiningen会在public
文件夹中生成app.js
。因此,public文件夹包含css/、js/和index.html。当我尝试推送
public
文件夹时,Heroku出现以下错误:
! No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed