Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Initialization Sequence for Roadrunner Startup Using Console Commands in Spiral Framework #155

Closed
butschster opened this issue Apr 29, 2024 · 0 comments · Fixed by #162
Assignees
Labels
Milestone

Comments

@butschster
Copy link
Member

butschster commented Apr 29, 2024

The Spiral offers a feature known as console command sequences, documented here: https://spiral.dev/docs/console-sequences. These sequences allow for a series of console commands to be executed to perform specific tasks. I am interested in utilizing this capability to automate the process of initializing entities in a database based on configuration files.

The idea is to have YAML configuration files placed in a runtime/configs directory. When Roadrunner starts, it should automatically load all these config files and create corresponding records in the database. This feature is particularly aimed at managing various types of configurations, such as project management or application webhooks configurations.

Additionally, it's important that each module within the application has the ability to register its own sequences independently. This flexibility would allow for a more modular and easily expandable system where different parts of the application can define their own initialization sequences without affecting or being dependent on each other.

@butschster butschster assigned butschster and unassigned butschster Apr 29, 2024
@butschster butschster added this to the 1.0 milestone Apr 29, 2024
@butschster butschster changed the title Add addition sequence for starting application inside roadrunner Implement Initialization Sequence for Roadrunner Startup Using Console Commands in Spiral Framework Apr 29, 2024
@butschster butschster linked a pull request Apr 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants