首页 > 解决方案 > 错误:Git“部署应用程序时出错”

问题描述

我正在使用 Git 将应用程序挂载到 Scalingo,但是当我执行“git push scalingo master”时,它会向我显示:

XXXXX+AAAA@AAAA MINGW32 ~/Desktop/Scalingo (master) $ git push scalingo master

计数对象:1120,完成。

Delta 压缩最多使用 4 个线程。

压缩对象:100% (1043/1043),完成。

写入对象:100% (1120/1120),16.71 MiB | 1.53 MiB/s,完成。

总计 1120(增量 208),重复使用 0(增量 0)

<-- 开始部署vinumtest -->

   Fetching source code

   Fetching deployment cache

-----> 使用 pip 安装需求

   You must give at least one requirement to install (see "pip help 

安装”)

构建完成,运送您的容器......

正在等待您的应用程序启动...

!部署应用程序时出错

!→ 您的应用程序在启动时意外停止

!阅读输出并相应地修复您的代码

!常见错误: http : //doc.scalingo.com/deployment/start-error#crashed

!需要帮忙?给我们发电子邮件:support@scalingo.com

到 git@scalingo.com:test.git

![remote denied] master -> master (pre-receive hook denied)

错误:未能将一些参考推送到 'git@scalingo.com:test.git'

实际结果是我不能执行命令“git push scalingo master”

标签: xcodegit

解决方案


正如部署中的消息告诉您的那样:

   You must give at least one requirement to install (see "pip help install")

您的 requirements.txt 似乎不包含任何依赖项。您使用的所有 Python 模块都应在此文件中列出。

您要部署什么样的应用程序?

无论应用程序是什么,您都必须在部署之前确保您的应用程序在本地工作站上运行。

问候,

——里奥


推荐阅读