This PR adds an igniter-based install task for ash_sqlite. I looked at the code from the equivalent ash_postgres installer task and modified to suit, so that the generated files match the ones in the getting started guide.
generates all the right files, although it also throws this error:
** (RuntimeError) must supply the --domains argument, or set `config :my_app, ash_domains: [...]` in config
(this is because by default the ash installer doesn't generate a domain). This (throwing the runtime error) is the same behaviour as the equivalent ash_postgres one-line igniter.new install.
I know this PR lands kindof out-of-the-blue, so do let me know if you'd like some changes/modifications. Happy to discuss, but I hacked this together for my own purposes (exploring ash & sqlite together) and figured it might be useful for others.
This PR adds an igniter-based install task for ash_sqlite. I looked at the code from the equivalent ash_postgres installer task and modified to suit, so that the generated files match the ones in the getting started guide.
Currently, this command (based on the forum post)
generates all the right files, although it also throws this error:
(this is because by default the ash installer doesn't generate a domain). This (throwing the runtime error) is the same behaviour as the equivalent ash_postgres one-line
igniter.new
install.I know this PR lands kindof out-of-the-blue, so do let me know if you'd like some changes/modifications. Happy to discuss, but I hacked this together for my own purposes (exploring ash & sqlite together) and figured it might be useful for others.
Contributor checklist