xcode - 错误: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”
解决方案
正如部署中的消息告诉您的那样:
You must give at least one requirement to install (see "pip help install")
您的 requirements.txt 似乎不包含任何依赖项。您使用的所有 Python 模块都应在此文件中列出。
您要部署什么样的应用程序?
无论应用程序是什么,您都必须在部署之前确保您的应用程序在本地工作站上运行。
问候,
——里奥
推荐阅读
- php - 数据未插入表,数据库连接没有错误
- windows - 使用 WinSCP 和批处理文件在 SFTP 服务器上创建文件夹(当它不存在时)
- keras - 如何在 keras 中获取批次中每个样本的损失?
- amazon-s3 - ValueError: Error when checking target: expected dense_2 to have shape (10,) but got array with shape (9,)
- python-3.x - 使用 numpy 的 2d 图像数组中的 Logical_And
- scala - 如何使用相同的逻辑迭代 RDD
- ag-grid - Ag-grid:具有树数据的全宽度分组行
- php - 为什么php-fpm(nginx)进程不关闭并不断累积?
- python-3.x - Python 3 - 无法在“if”语句下调用函数
- c# - 如何解密 C# 上加密的 laravel?