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

Design a system init process to detect and configure the system. #22

Open
1 of 8 tasks
jonpugh opened this issue Jan 26, 2018 · 1 comment
Open
1 of 8 tasks

Design a system init process to detect and configure the system. #22

jonpugh opened this issue Jan 26, 2018 · 1 comment

Comments

@jonpugh
Copy link
Member

jonpugh commented Jan 26, 2018

Manually adding your server and services is tedious for the experienced and baffling for the newcomer.

Let's build an onboarding process:

  • On first run (No config path found. ) show some welcome messages and:

    • Detect available services. Each service should contain a method that tries to detect if the system is running the service.
    • Show the user the services it detected and offer to save a server context with that information.
    • Offer to save .provision.yml configuration file with detected services set as available (After Use .provision.yml console config to limit service options. #21) .
    • If no services are found, tell the user how to install the service. (@todo: Offer to install the service for the user.)
  • Devise a system status feature:

    • Each service should be able to detect if it is running,
    • Each service should be able to install itself.
@jonpugh
Copy link
Member Author

jonpugh commented Feb 7, 2018

I'm creating a "setup" command for this. We'll see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant