I have an existing project built with default settings. Now I see that I dont really need Ecto for anything. I just want to remove all DB related events from the code.
Can someone guide me through the process ?
I have removed all mention of Ecto from mix.exs but I guess thats not enough
Update:
I found ecto mentioned in lib/api_test/repo.ex file. If I remove the line it gives the following error
=INFO REPORT==== 21-Jul-2016::12:43:30 ===
application: logger
exited: stopped
type: temporary
** (Mix) Could not start application api_test: ApiTest.start(:normal, []) returned an error: shutdown: failed to start child: ApiTest.Repo
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function ApiTest.Repo.start_link/0 is undefined or private
(api_loc) ApiTest.Repo.start_link()
(stdlib) supervisor.erl:365: :supervisor.do_start_child/2
(stdlib) supervisor.erl:348: :supervisor.start_children/3
(stdlib) supervisor.erl:314: :supervisor.init_children/2
(stdlib) gen_server.erl:328: :gen_server.init_it/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
phoenix_ecto
from the deps and look where the compiler start complaining. The compiler where not complaining after deleting ecto from mix.exs ? – Bookbinding--no-ecto
flag and then compare it to your existing one. – Morphiaworker(ApiTest.Repo, args),
mentioned somewhere? See if Repo is still mentioned somewhere in your project. – Moue