{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/716","repository_url":"https://api.github.com/repos/swcarpentry/amy","labels_url":"https://api.github.com/repos/swcarpentry/amy/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/amy/issues/716/comments","events_url":"https://api.github.com/repos/swcarpentry/amy/issues/716/events","html_url":"https://github.com/swcarpentry/amy/issues/716","id":137703702,"number":716,"title":"Migrate from SQLite to PostgreSQL","user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swcarpentry/amy/labels/deployment","name":"deployment","color":"fbca04"},{"url":"https://api.github.com/repos/swcarpentry/amy/labels/development","name":"development","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-01T22:20:03Z","updated_at":"2016-03-03T17:38:18Z","closed_at":null,"body":"Why? Because AMY is going to serve a higher load and SQLite isn't meant for that.\r\n\r\nWhy PostgreSQL? Because it has a really [nice support](https://docs.djangoproject.com/en/1.9/ref/contrib/postgres/) in Django.\r\n\r\nChallenges:\r\n\r\n1. Reworking development process. SQLite is excellent for newcomers, while PostgreSQL requires at least something installed: Docker, Vagrant or \"pure\" PostgreSQL server.\r\n2. Running continuous integration on PostgreSQL.\r\n3. Installation and secure configuration of PostgreSQL on the server.\r\n4. Database backup.\r\n5. `settings.py` that works with both servers (use https://github.com/kennethreitz/dj-database-url ?)."},"comment":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/comments/191877929","html_url":"https://github.com/swcarpentry/amy/issues/716#issuecomment-191877929","issue_url":"https://api.github.com/repos/swcarpentry/amy/issues/716","id":191877929,"user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T17:38:18Z","updated_at":"2016-03-03T17:38:18Z","body":"@sburns I was thinking about https://github.com/kennethreitz/dj-database-url too, but these are \"implementation details\"…"}}