{"image_url":null,"url":"https://pebble8888.hatenablog.com/entry/2018/03/29/210135","description":"$ pg_ctl -D /usr/local/var/postgres start && brew services start postgresql $ psql postgres # create role myuser with login password mypass; # alter role myuser createdb; # \\q; ruby\u7528\u306e\u74b0\u5883\u5909\u6570 DATABASE_URL=postgres://myuser:mypass@{hostname}/{databasename}","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpebble8888.hatenablog.com%2Fentry%2F2018%2F03%2F29%2F210135\" title=\"postgres \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u884c\u3046\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 for rails - Pebble Coding\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","categories":["rails/ruby"],"author_url":"https://blog.hatena.ne.jp/pebble8888/","author_name":"pebble8888","blog_url":"https://pebble8888.hatenablog.com/","published":"2018-03-29 21:01:35","blog_title":"Pebble Coding","title":"postgres \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u884c\u3046\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 for rails","version":"1.0","height":"190","provider_name":"Hatena Blog","width":"100%"}