首页 文章
  • 1 votes
     answers
     views

    heroku procfile中的gulp命令

    我有一个node.js / express应用程序,我希望运行命令 gulp build 以在使用heroku部署时生成我的静态资产,就在我的节点命令 lcm server 之前,因为我将 public 文件夹保存在我的 .gitignore 文件中 . 我在heroku部署期间无法找到如何运行此命令 . 到目前为止我的Procfile是: web: lcm server 这似乎不起作用 - g...
  • 0 votes
     answers
     views

    Heroku Procfile for Perfect 2.0

    我正在尝试在Heroku上部署Perfect 2.0(它使用swift包管理器) . current build pack for Swift 3 and Perfect 2.0存在,我已经测试并使用此buildpack将下面的模板成功推送到heroku应用程序而没有构建错误 . 特别是,我试图让Perfect's base template example - 在本地运行良好 - 部署到he...
  • 1 votes
     answers
     views

    Gradle Android Studio App为Heroku编写proc文件

    我正在尝试将应用程序部署到heroku,但为了做到这一点,我需要通过heroku中的procfile声明一个进程类型 . 我研究了proc文件,但不知道如何为我的java gradle android studio app获取正确的命令,因为我没有使用ratpack或springboot,所以我想知道命令是什么 . 我知道流程类型需要:“web:”但我不知道在那之后要写什么 .
  • 1 votes
     answers
     views

    使用Maven构建spring-boot项目时,将文件复制到jar根目录

    我有一个Spring Boot项目,我正在使用mvn clean build构建jar文件 . 我需要将文件夹和文件复制到jar的根目录,META-INF位于该根目录中 . 我尝试了maven-resources-plugin但我无法达到目标 . 对于war文件,我过去使用过maven-war-plugin,但我找不到类似jar的东西 . 任何人都可以给我一个想法吗? 谢谢 .
  • 4 votes
     answers
     views

    一个Heroku应用程序中的两个进程与两个heroku应用程序

    我有一个heroku应用程序,它有两个进程 - 一个Web和一个worker,都在同一个应用程序中 . 我计划在ps中运行这两个:整个月的比例为1x . 这基本上意味着我每月超过750免费的dyno小时,并且必须支付一些费用 . One app, two processes 应用 web:gunicorn myproject.wsgi --log-file - worker:芹菜 - 一...
  • 1 votes
     answers
     views

    有问题为Flask heroku应用程序部署设置Procfile

    我'm able to deploy my app to heroku, but if I try to access the given heroku url for my app I get an 51296 H10 error in heroku. I think it' s因为我的Procfile设置不正确 . 现在我的Procfile读取 web: gunicorn main.py ...
  • 1 votes
     answers
     views

    将django-app推送到heroku

    我有一些Django项目,希望在Heroku上部署 . 我正在尝试将我的应用程序推送到heroku,我收到以下消息: $ git push heroku master Counting objects: 22, done. Delta compression using up to 2 threads. Compressing objects: 100% (18/18), done. Writin...

热门问题