Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL & MySQL support #62

Open
dinever opened this issue May 20, 2016 · 0 comments
Open

PostgreSQL & MySQL support #62

dinever opened this issue May 20, 2016 · 0 comments

Comments

@dinever
Copy link
Collaborator

dinever commented May 20, 2016

I'm planning to add a Deploy to Heroku button in the README file so that users can easily deploy the application without owning a server.

However, Heroku does not support SQLite for some security reasons. So let's add some support for PostgreSQL which Heroku supports very well.

This shouldn't be hard to achieve as we already have those SQL statements. To switch between SQLite and PostgreSQL/MySQL let's add an environment variable named DATABASE_URL, which indicates the URL of the PostgreSQL/MySQL server. If the environment variable is not set, use SQLite instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant