Reputation: 1021
How can we share one database with two different websites?
I made a web-application( for customer ) with Ruby On Rails using Heroku server. I need to make provider site that shares same information with the customer site. All data is stored in the Heroku server. How can I do this and is it possible to do?
Please give any thought about this!! :)
Upvotes: 0
Views: 45
Reputation: 422
There is an article at Heroku devcenter about that topic : https://devcenter.heroku.com/articles/connecting-to-heroku-postgres-databases-from-outside-of-heroku
This article seems to cover all your needs.
Upvotes: 1