-
Notifications
You must be signed in to change notification settings - Fork 146
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
One-click development environment via Gitpod.io (browser-based VSCode with cloud backend) #916
Conversation
This is quite cool, thanks for the work! Just played around with it, found some things that still could be improved:
|
Thanks for the fast feedback and for trying out the solution. Regarding the README, it was of course just an idea. Moving it to a separate page makes totally sense.
So you mean keeping the button where it is but moving all the other instructions to a new page? I will try to look into your improvement requests next weekend. |
WIP: My first idea was to use Note: Just realized that my last commit didn't really solve the issue as expected. Will look into it again in the next couple of days and ping you when it's ready.
I've changed mailcatcher and phpmyadmin to notify only. Looks like open preview on startup only works just for a single port. Looking forward to your feedback and further improvement ideas! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! Added one idea.
@wvengen I think we were able to address the mentioned improvement ideas. I am not sure if we could also avoid running |
To be honest, I am still trying to figure out the best setup for this. Also, some things are not working smoothly when a workspace is paused and restarted (probably has to do with which folders and docker container state is persisted by Gitpod). Executing the rake commands via Maybe this workflow is more convenient compared to installing ruby and all gems in the main gitpod environment too. One way or the other, I think it might be a good idea to clearly state that the Gitpod setup is still experimental and ask for improvement suggestions? |
... this way the correct bundler and other ruby tools versions are installed.
... and add some comments
5d081d8
to
4286e1d
Compare
…he gitpod container.
After using this setup for implementing #716 I think the simplest solution is not to install ruby and all bundles in the gitpod environment directly, but instead give a hint how to open up a terminal inside the foodsoft container, where everything is installed already and all the commands can be used as expected. This avoids having to install everything twice, once in the docker environment and once in Gitpod. This can be tested here: I've pushed the other approaches to branches for easier comparison.
|
This PR doesn't change any internals of the project. Is anything still blocking the merge? |
i didn't check in detail, but since it does not touch any existing code and there a no objections from anybody else i just merged it |
Shouldn't the URL in the README change from |
Ah yes, good catch. It was pointing to our fork, so that the .gitpod.yml is picked up when opening the link. Will submit a new PR. |
The "Open in Gitpod" link in the Readme.md was pointing to a fork, so that the .gitpod.yml is picked up when opening the link. Now that it's merged to master (foodcoops#916), it should of course point to the main repo.
The "Open in Gitpod" link in the Readme.md was pointing to a fork, so that the .gitpod.yml is picked up when opening the link. Now that it's merged to master (#916), it should of course point to the main repo.
Hi,
during our last mob-programming meetup session we were experimenting with this project and prepared a configuration for creating a development environment on https://gitpod.io.
The instructions in
doc/SETUP_DEVELOPMENT_DOCKER.md
were very helpful for figuring out how to use docker-compose in the.gitpod.yml
for preparing the docker containers.You can test the idea with the badge we added to the
README.md
. If you like it and also want to keep the badge you just need to update the URL to https://gitpod.io/#https://github.com/foodsoft/foodsoft.Thanks to all contributors during our mob-programming meetup session:
It was a really awesome group-effort 🙏😊