goravel icon indicating copy to clipboard operation
goravel copied to clipboard

✨ [Feature] Simplify Goravel Installation Process

Open krishankumar01 opened this issue 2 years ago • 11 comments

Before feedback (在反馈之前)

  • [X] There are no features that I want to submit in Issues (当前 Issues 中没有我将要提交的新功能)

Describe Feature (描述功能)

To simplify the installation procedure, I suggest making a specific Goravel installer. This installer makes the process of starting a new Goravel project easier by allowing users to do it with a single command(across all platforms).

Example :

command install goravel/installer
goravel new example-app

krishankumar01 avatar Sep 13 '23 06:09 krishankumar01

Hi @kkumar-gcc 👋

We think your feedback is very valuable! If you are interested, please submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution! 我们认为您的反馈非常有价值!如果有兴趣欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!

github-actions[bot] avatar Sep 13 '23 06:09 github-actions[bot]

It seems that this feature is difficult to implement directly in the framework and needs to be coordinated with the routing driver (gin or fiber) through middleware.

devhaozi avatar Sep 14 '23 10:09 devhaozi

We may create a new repository to implement this, like https://github.com/laravel/installer

hwbrzzl avatar Sep 14 '23 10:09 hwbrzzl

We may create a new repository to implement this, like https://github.com/laravel/installer

Oh, sorry. I replied to the wrong issue, I will reopen this issue.

devhaozi avatar Sep 14 '23 10:09 devhaozi

We may create a new repository to implement this, like https://github.com/laravel/installer

Can study from the air package. It is installed through go install.

devhaozi avatar Sep 14 '23 10:09 devhaozi

Hello everyone , I do not know if someone is still working on this . It would be cool to tell if so , otherwise I would be very happy to integrate and contribute the Feature myselfe , of course inspired by the Laravel installer . Thank you !

livghit avatar Mar 09 '24 18:03 livghit

Hello @livghit,

No one's currently working on this feature. Feel free to pick it up and contribute using the goravel/installer repo.

Thanks!

krishankumar01 avatar Mar 10 '24 08:03 krishankumar01

Hey @kkumar-gcc ,

Could you please take a look at the fork I've created and provide feedback on whether the implementation meets your expectations? Feedback is always appreciated. I chose this approach because it seemed like the simplest way to achieve a quick result. I'm also willing to implement this using the Bubble Tea Framework, but it would take me longer to do so. Implementing it with the Bubbletea framework would lead to a more polished user interface, featuring smooth spinners, beautifully styled input elements, and other enhancements. However, I believe that at the moment for the initial installer, this implementation would suffice, as it enables users to install the foundational scaffolding of the application swiftly through a simple CLI command.

Thank you !

livghit avatar Mar 11 '24 14:03 livghit

Hi @livghit I'll check it, thanks!

hwbrzzl avatar Mar 11 '24 14:03 hwbrzzl

I'm also willing to implement this using the Bubble Tea Framework, but it would take me longer to do so.

We currently do not require it, as Goravel does not utilize the Bubble Tea Framework.

krishankumar01 avatar Mar 11 '24 14:03 krishankumar01

@livghit Basically, it's great, please create a PR for it, and I'll leave some comments. Thanks for your great work!

hwbrzzl avatar Mar 11 '24 15:03 hwbrzzl