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

🔥 Live-reloading (and hot-deploy) for Fiber #358

Closed
thomasvvugt opened this issue May 11, 2020 · 3 comments
Closed

🔥 Live-reloading (and hot-deploy) for Fiber #358

thomasvvugt opened this issue May 11, 2020 · 3 comments

Comments

@thomasvvugt
Copy link
Contributor

Describe the solution you'd like
Live-reloading utility for Go applications in development such as cosmtrek/air, we also might want to take a look at solutions for hot-deployment for production environments.

Alternatives
Live reloading alternatives:
oxequa/realize
qrtz/livedev
devlocker/tychus
zephinzer/godev
goccy/rebirth

Deployment alternatives:
buger/goreplay
jorgebastida/gordon
google/ko
laher/goxc

Additional context
Some guides I found using a quick search:
https://www.zachjohnsondev.com/posts/go-docker-hot-reload-example/
https://peter.bourgon.org/go-in-production/

I have not considered any alternatives yet, neither have I really dived into possible solutions. I put this here to store this idea to be picked up.

@welcome
Copy link

welcome bot commented May 11, 2020

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@thomasvvugt
Copy link
Contributor Author

thomasvvugt commented May 23, 2020

Added a Live Reloading recipe for Air in our recipes repository
I am keeping this issue open once I figured out how to do hot-deployment as well 🎉

@thomasvvugt
Copy link
Contributor Author

Since hot-deployment is kind of the same as live-reloading but requires some sort of FTP/SFTP connection for you to upload files, we are closing this issue for now.
Keep in mind that Air is just an example repository on how you could implement Live Reloading to your Go application.

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

4 participants