草庐IT

heroku-pipelines

全部标签

go - {{template "name"pipeline}} 是什么意思

这个问题在这里已经有了答案:Golangtemplateenginepipelines(1个回答)关闭4年前。在https://golang.org/pkg/text/template/#hdr-Actions,有如下解释{{template"name"pipeline}}Thetemplatewiththespecifiednameisexecutedwithdotsettothevalueofthepipeline.这是什么意思?什么是点?例如,我看到下面的模板代码——{{define"header"}}{{template"top".}}{{template"needs"}}..

ssl - 如何在 Heroku 上使用 Go 修复 TLS 握手错误?

我有一个简单的代理,它在同一端口上监听HTTP和HTTPS连接。但是我看到似乎是由Heroku路由器引起的奇怪的TLS握手错误:heroku[router]:sock=backendat=errorcode=H18desc="ServerRequestInterrupted"method=GETpath="/favicon.ico"host=banana.camprequest_id=f56144c8-e480-476a-90b8-429b490f1ff5fwd="24.67.185.77"dyno=web.1connect=0msservice=1msstatus=503bytes=

.htaccess - Heroku htaccess 基本身份验证上的 Golang 应用程序

是否可以在heroku中运行的golang应用程序上使用htaccess?我读过这个link但该解决方案对我不起作用(另外,命令htpasswd在herokubash中无法识别,但我使用thistool创建了htpasswd文件)。谢谢。 最佳答案 Goweb应用程序是一个服务器,因此无需使用Apachehttpd服务器,尤其是在具有非常清晰的Go部署说明的Heroku上:https://devcenter.heroku.com/categories/go仔细遵循这些说明,您会发现不需要Apache。htaccess和htpassw

ruby-on-rails - Michael Hartl 的 Ruby on Rails 教程第 2 章练习(demo_app): app works on Windows 8 localhost, 但在 Heroku 上不起作用

我是网络开发的新手,我正在尝试通过MichaelHartl'sbookRubyonRailsTutorial学习RoR.我的问题在第二章(demo_app,一个使用脚手架的类似微博)。demo_app在localhost:3000上完美运行,但是当我将它推送到Heroku时,它不起作用(索引和/users或/microposts)并显示消息:*"应用程序错误应用程序发生错误,无法提供您的页面。请稍后重试。如果您是应用程序所有者,请查看您的日志以了解详细信息。”*这是Heroku的日志:2013-07-18T23:45:15+00:00heroku[slug-compiler]:Slug

windows - Heroku CLI 在 babun 中失败

我在尝试将Heroku与babun一起使用时遇到以下问题在基于cygwin的Windows10上。我已经在我的Windows机器上安装了Herokutoolbelt,CLI似乎可以在cmd中运行:但是在babun上我得到以下错误:C:\ProgramFiles(x86)\Heroku\ruby-1.9.3\bin\ruby.exe:Nosuchfileordirectory--/cygdrive/c/ProgramFiles(x86)/Heroku/bin/heroku(LoadError)我认为这可能与babun的文件夹结构有关,但我正在努力进行全面诊断。

windows - 你如何连接到 Heroku 中的本地 PostgreSQL?

当我研究这个时,我发现教程here缺少关键信息,这里有几个问题,网上有关于本教程的一些投诉。我想知道这里是否有人成功连接到Windows中的Heroku本地Postgresql并且可以帮助我。目前我坚持使用这个命令c:\>exportDATABASE_URL=postgresql://localhost:5432/shouter'export'isnotrecognizedasaninternalorexternalcommand,operableprogramorbatchfile.有解决办法吗? 最佳答案 来自*nix的expo

django - 在Windows 10中将pg:push用于Heroku

我在尝试将postgis数据库从本地计算机推送到windows10中的heroku时遇到问题。我认为这个问题与“env”有关,它可以在linux等中设置,但我不确定如何在windows中设置。herokupg:pushMAPPPDDATABASE_URL--appmapppd上面(其中mappd是我的本地postgres/postgis数据库,database_url是我的heroku应用程序上的数据库)只提供给我:DLisdeprecated,pleaseuseFiddle'env'isnotrecognizedasaninternalorexternalcommand,operab

windows - Heroku Toolbelt Windows - Rails 控制台命令历史

在Windows上使用Heroku工具带时是否可以获取Rails控制台命令行历史记录?herokurunconsole这不适用于使用版本2.33.1的Windows7。 最佳答案 这应该可以完成工作:herokurunrailsc 关于windows-HerokuToolbeltWindows-Rails控制台命令历史,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/1356672

windows - 无法安装 heroku 核心插件

Windows8.1、64b上周一切顺利。每当我运行heroku命令时,它都会尝试安装heroku核心插件,例如:C:\Users\Usr\Documents\Aptana3_Workspace\mobile-site>herokurunInstallingcorepluginsheroku-apps,heroku-fork,heroku-git,heroku-local,heroku-run,heroku-status...?module.js:338?throwerr;?^??Error:Cannotfindmodule'./bin/npm-cli.js'?atFunction.M

windows - 如何从 heroku 中的 postgresql 获取表?

我有Windows、gitbash、pg-admin3、一个带有PostgreSQL数据库的Heroku应用程序,是否有任何gitbash命令来获取数据库和表名?因为我忘记了名字而且我无法进行任何查询(select*from(?))我试过:gitbash中的\list命令,但不存在。从Heroku网站上看,但没有成功。有什么办法可以得到名字吗? 最佳答案 gitbash只是一个Cygwin风格的bash模拟器,它允许git在Windows下运行。正如没有与Postgres交互的原生bash命令一样,gitbash也没有。在任何一种情