草庐IT

ruby-on-rails - heroku - rails - 权限被拒绝(公钥)

herokucreateCreatingfloating-planet-1824.........................done,stackisbamboo-mri-1.9.2http://floating-planet-1824.heroku.com/|git@heroku.com:floating-planet-1824.gitgitpushherokumasterWarning:PermanentlyaddedtheRSAhostkeyforIPaddress'50.19.85.156'tothelistofknownhosts.Agentadmittedfailure

ruby-on-rails - git clone heroku ssh 权限被拒绝

我刚买了一台新电脑,我想在上面克隆我的heroku项目。这是我到目前为止所做的。我没有包括跟踪,但所有内容都保存在正确的位置,并且函数运行没有错误。>>sudossh-keygen>>herokukeys:add>>sudogitclone-oherokugit@heroku.com:myapp.gitInitializedemptyGitrepositoryin/Users/macuser/Sites/shwagr/shwagr/.git/Permissiondenied(publickey).然后我听说可以通过sshbash来实现..>ssh-agentbash>ssh-add~/

django - 错误 : could not determine PostgreSQL version from '10.3' - Django on Heroku

我试图从本地环境推送到Herokumaster。上一次提交没有新要求。但是,我收到一条错误消息,指出系统无法从“10.3”确定PostgreSQL版本。这是我的需求list:amqp==1.4.9anyjson==0.3.3appdirs==1.4.3awscli==1.11.89billiard==3.3.0.23boto==2.46.1botocore==1.5.52celery==3.1.25Collectfast==0.5.2colorama==0.3.7dj-database-url==0.4.2Django==1.11.1django-celery==3.2.1django

git - heroku 命令和推送给我 'CLI is deprecated. Please reinstall' 错误

我推送到heroku没有问题,但现在每当我写一个命令时:herokucreateherokuopengitpushherokumaster它给了我这个错误:$herokuopen▸heroku-cli:ThisCLIisdeprecated.Pleasereinstallfrom▸https://cli.heroku.com我应该怎么做才能阻止这种情况?我已经为以前没有给我任何问题的网站运行heroku,但现在显示错误。我使用的是相同的设备,身份验证细节没有改变。我还重新启动了计算机(这是一台mac)。 最佳答案 使用自制软件升级您

git - 如何将更改直接从 Cloud9 IDE 推送到 Heroku?

我是一名(非技术)实习生,在我无法使用普通笔记本电脑的地方实习,而且我有很多空闲时间。我正在学习如何编程,我希望能够使用完全基于云的开发环境,因为我无法在我可以访问的计算机上安装任何东西。我注册了Cloud9IDE,将其连接到我的GitHub帐户,并克隆了一个包含我正在处理的Sinatra小项目的存储库。问题是,我不知道如何将我在Cloud9中所做的任何更改推送到Heroku。基本上我是盲目的。如果我在我的笔记本电脑上,我会跳到终端,提交我的更改,然后运行​​gitpushherokumaster。在工作中,这不是一种选择,因为我没有在本地开发任何东西。Cloud9内置了一个安装了gi

git - 开源迷你 heroku?

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于StackOverflow来说是偏离主题的,因为它们往往会吸引自以为是的答案和垃圾邮件。相反,describetheproblem以及迄今为止为解决该问题所做的工作。关闭8年前。Improvethisquestion我开始使用Sinatra并在Heroku上进行部署,我觉得这非常有趣。我不需要Heroku提供的可扩展性,但我真的很喜欢他们的CLI以及通过简单的推送来部署应用程序的能力。是否有一个开源项目发布了一个VM镜像,我可以在EC2实例上使用它

git - Heroku推送应用问题

我安装了Heroku并设置了一个帐户,但出于某种原因,每当我尝试将应用程序推送到该站点时,我都会收到此错误。$gitpushherokumaster!Nosuchappasfirst_appfatal:Theremoteendhungupunexpectedly我已经检查过heroku是否可以看到git$gitremote-vherokugit@heroku.com:first_app.git(fetch)herokugit@heroku.com:first_app.git(push)如何让heroku识别我的git文件? 最佳答案

git - 如何将 Heroku git 存储库重置为初始状态?

我在git存储库中有一个Web应用程序。由于历史原因,Web应用程序不在存储库的根目录中,它位于名为website的文件夹中。除此之外还有一些其他的文件夹,所以我得到了以下结构:myApp+-.git+-otherFolder1+-otherFolder2+-otherFolder...+-otherFolderN+-website该网站在Heroku上运行。由于Heroku要求您的Web应用程序位于git存储库的根目录,直到现在我使用的构建过程将website文件夹复制到一个完全不同的(外部)文件夹,它有自己的git存储库。然后我能够从那里推送到Heroku,一切都很好。现在,因为g

git - 如何在限制 ssh 的防火墙后面通过 https 访问 heroku git

Heroku部署在我家就像一个魅力。但是我的办公室网络限制了ssh,它阻止了命令“gitpushherokumaster”有没有办法使用herokugit存储库的httpsurl来推送我的应用程序。 最佳答案 你只能通过ssh推送到herokugit。更新(根据@ryanbrainard评论):HTTPGit现在是GAhttps://blog.heroku.com/archives/2014/12/5/http_git_now_generally_available 关于git-如何在限

ruby - 混帐,Heroku : pre-receive hook declined

我正在设置一个git存储库并尝试将其链接到Heroku。当我运行命令时gitpushherokumaster我收到了Countingobjects:7,done.Deltacompressionusingupto2threads.Compressingobjects:100%(5/5),done.Writingobjects:100%(7/7),714bytes,done.Total7(delta1),reused0(delta0)----->Herokureceivingpush!Herokupushrejectedduetoanunrecognizederror.!We'vebee