简体   繁体   English

推车站点到locomotivecms引擎ssl错误

[英]push wagon site to locomotivecms engine ssl error

I have a wagon site fully working that I can see when I start the server 我有一个完全正常工作的旅行车站点,当我启动服务器时我可以看到

I have a working LocomotiveCMS engine on my machine 我的机器上有一个工作的LocomotiveCMS引擎

Now I would like to deploy the wagon site to the engine as described in the guide on the locomotivecms website 现在我想按照locomotivecms网站上的指南中所述将旅行车站点部署到引擎

I have edited the deploy.yml file to have details of the locomotive engine site administrator account. 我编辑了deploy.yml文件,以获取机车引擎站点管理员帐户的详细信息。 (locomotive url on my localhost; email; password) (我本地主机上的机车网址;电子邮件;密码)

I try to push the whole site using bundle exec wagon push staging and I receive this complaint : 'unable to get an API token: localhost:8080/locomotive/locomotive/api/tokens.json does not respond. 我尝试使用捆绑exec旅行车推送分段推送整个站点,我收到这个投诉:'无法获得API令牌:localhost:8080 / locomotive / locomotive / api / tokens.json没有响应。 Perhaps, the ssl option is missing in your config/deploy.yml file' 也许,你的config / deploy.yml文件中缺少ssl选项'

I like the locomotive engine but as now I cannot get to it to work with the wagon site that I have made. 我喜欢机车引擎,但是现在我无法使用我制造的旅行车网站。

Github link https://github.com/LucaDev13/wagon_zurb Github链接https://github.com/LucaDev13/wagon_zurb

Can someone shed some light on what I am missing? 有人可以解释我所缺少的东西吗?

This is just a guess based on the response you are getting. 这只是基于您获得的响应的猜测。 It is showing the directory structure as "/locomotive/locomotive." 它将目录结构显示为“/ locomotive / locomotive”。

So my guess would be that you have defined the host as http://localhost:8080/locomotive so, unless that is in fact the correct directory structure, I would suggest changing the host to http://localhost:8080 (removing the /locomotive) and then try again. 所以我的猜测是你已经将主机定义为http://localhost:8080/locomotive所以,除非这实际上是正确的目录结构,我建议将主机更改为http://localhost:8080 (删除/机车)然后再试一次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM