イントロダクション この記事は https://github.com/jazzyb/sqlite_ecto/wiki/Basic-Sqlite.Ecto-Tutorial にあるチュートリアルに加筆したものです Elixir+Phoenixがアツいです.ポストRuby on Railsとしての地位を着実に固めつつあるように思います PhoenixフレームワークのデータベースはデフォルトでPostgreSQLですがPostgreSQLは仰々しいですよね.sqliteは新しいユーザを別途作ったりしなくてもいいし,DBをファイルとして扱えるため手軽だし,大規模なデータを扱わないかぎり十分に高速ですし,個人がちょっと公開するサービス程度であればsqliteを使いたいですよね. phoenixでsqlite3を使う phoenixとelixir環境がすでに構築されていることを前提に話を進めます.