> For the complete documentation index, see [llms.txt](https://devlog.joonas.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devlog.joonas.io/logs-etc/2021-12-07.md).

# 2021/12/07

## SQLite on Heroku

{% embed url="<https://devcenter.heroku.com/articles/sqlite3>" %}

간단한 Python/Flask 앱을 배포하려고 했는데, 계속 500 에러가 났다. 로컬에서는 잘 되는데, Heroku에서의 환경이 의심되었고 정말 한 줄씩 원인을 찾았다.

production 환경에 적합하지 않다는 이유로, Heroku에서 지원하지 않고 PostgreSQL를 제공하고 있다.
