Add ash framework #22

Merged
moritz merged 1 commit from ash-setup into main 2025-04-23 17:57:57 +02:00
Collaborator

I wanted to integrate this before working on CI to prevent unnecessary changes in the CI setup later on.
This only adds the basics of the ash framework:

  • AshPostgres data persistence layer
  • Ash-specific formatting for its DSL library, spark
  • Ash and AshPhoenix dependencies
  • LiveDebugger for debugging LiveViews in-browser
  • Basic admin UI at /admin (this does not work yet because we don't have any resources defined)

It's easy to add more ash components later using mix igniter.install, e.g. mix igniter.install ash_money.

Testing instructions

The project should work as before by executing just run in a terminal while having postgres running in another terminal. There's a new just reset-database command you can try. It should remove all data and set up a new database from scratch.

I wanted to integrate this before working on CI to prevent unnecessary changes in the CI setup later on. This only adds the basics of the ash framework: - AshPostgres data persistence layer - Ash-specific formatting for its DSL library, `spark` - Ash and AshPhoenix dependencies - LiveDebugger for debugging LiveViews in-browser - Basic admin UI at `/admin` (this does not work yet because we don't have any resources defined) It's easy to add more ash components later using `mix igniter.install`, e.g. `mix igniter.install ash_money`. ## Testing instructions The project should work as before by executing `just run` in a terminal while having postgres running in another terminal. There's a new `just reset-database` command you can try. It should remove all data and set up a new database from scratch.
rafael self-assigned this 2025-04-21 12:45:58 +02:00
rafael added 1 commit 2025-04-21 12:46:00 +02:00
Add ash framework
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
86437cbb9d
requested reviews from moritz, simon, carla 2025-04-21 12:46:16 +02:00
moritz approved these changes 2025-04-23 13:52:49 +02:00
moritz left a comment
Owner

Works for me and looks fine

Works for me and looks fine
Owner

What part of the code/configs is generated and which is manually created? What is the command to generate it?

What part of the code/configs is generated and which is manually created? What is the command to generate it?
Author
Collaborator

All changes in this PR were generated using this command:

mix igniter.install ash ash ash_phoenix ash_postgres ash_admin live_debugger --yes
All changes in this PR were generated using this command: ```sh mix igniter.install ash ash ash_phoenix ash_postgres ash_admin live_debugger --yes ```
moritz merged commit 9973049138 into main 2025-04-23 17:57:57 +02:00
Sign in to join this conversation.
No description provided.