简体   繁体   English

使用MySQL和Rails设置Dokku

[英]Setting up Dokku with MySQL and Rails

Right off the bat, this is the issue: 马上就是这个问题:

$ dokku mysql:create app
mkdir: cannot create directory ‘/home/git’: Permission denied

Dumb founded... Here's what I did: 愚蠢的创立......这就是我所做的:

I went to Digital Ocean and got a Dokku server. 我去了Digital Ocean并得到了一个Dokku服务器。 From there I set it up by simply going to the IP and pushing the blue button. 从那里我通过简单地转到IP并按下蓝色按钮来设置它。

I then followed this guide except that I made a deviation with the dokku mysql plugin . 然后我按照本指南,除了我与dokku mysql插件的偏差。

Let me know if you need anymore information. 如果您需要更多信息,请与我们联系。 Will happily update my question per a comment. 我会很乐意根据评论更新我的问题。

Key Question : How do I set up a MySQL DB given that I am having the above error? 关键问题 :如果我遇到上述错误,如何设置MySQL数据库?

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

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