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

Configuration wizard #148

Open
samdark opened this issue Apr 4, 2021 · 8 comments
Open

Configuration wizard #148

samdark opened this issue Apr 4, 2021 · 8 comments
Assignees
Labels
status:ready for adoption Feel free to implement this issue. type:feature New feature

Comments

@samdark
Copy link
Member

samdark commented Apr 4, 2021

A console configuration wizard will be great to have. For example:

- Do you want database? Y
- Cycle or DB? DB
- Which server to connect to? localhost
- What is login? root
- What's password? superpassword

will install db package and configure it.

@samdark samdark added the type:feature New feature label Apr 4, 2021
@viktorprogger
Copy link
Contributor

I suggest to make a global command-line tool, which will ask, i.e.:

  • Do you need console commands?
  • Do you need web application?
  • Would your app be api-only or you need html/widgets/bootstrap/jquery?
  • Would it be a classic web-app or a long-living one (choose one of RR, Swoole, etc.)
  • Which router would you choose?
  • Which test frameworks do you need?
  • Step-by-step docker-compose and dockerfile generation

@viktorprogger
Copy link
Contributor

I think it can be not only command-line, but with web interface too. It will create a php server with auto searching for a free tcp port and display output like "Go to http://localhost:8080 to continue installation". Such a tool will be good-looking in a public container image.

@samdark samdark added the status:ready for adoption Feel free to implement this issue. label Apr 6, 2021
@samdark
Copy link
Member Author

samdark commented Apr 6, 2021

Not sure it worth it to create a web interface for it. Developers are usually OK with console.

@viktorprogger
Copy link
Contributor

In a web interface it's more comfortable to use checkboxes, display wizard progress and see the result of your choices.

@dood-
Copy link

dood- commented Jan 6, 2024

I can make a console configuration wizard
Is it a duplicate?

@vjik
Copy link
Member

vjik commented Jan 6, 2024

I can make a console configuration wizard

May be should it be separate console utility in separate repo?

Is it a duplicate?

No. It is issue for Yii Dev Panel. But current issue about console wizard.

@dood-
Copy link

dood- commented Jan 9, 2024

if this task is still relevant, I can try to do it in my repository and then transfer it to you

@samdark
Copy link
Member Author

samdark commented Jan 9, 2024

It is relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:feature New feature
Projects
None yet
Development

No branches or pull requests

4 participants