#Add ecto to existing phoenix project?
4 messages · Page 1 of 1 (latest)
You can follow the Ecto docs and add the pieces you need. Or you can create two new projects, one with and one without, then diff the two to see exactly what --no-ecto does.
mix phx.new --no-ecto ecto_test
mv ecto_test ecto_test.no-ecto
mix phx.new ecto_test
diff -Naur ecto_test.no-ecto ecto_test
(hint: there's a lot different... phx.new generates configs, runtime configs, test supports, formatter configs, telemetry metrics, mix aliases, translations, etc
this is actually really smart - I can probably apply that as a patch on top