-
Notifications
You must be signed in to change notification settings - Fork 77
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
Gitpodify Couchers wrap up #1916
Conversation
Is there really no way to do this without the local companion app? The whole point of gitpodify would be to be able to run it in their VM and have a completely standardized environment with no local setup needed. (Also, that link is 404-ing.) |
Unless there is a way to workaround the fact cookies aren't being set properly when it comes from |
The Gitpod badge link? It works for me (takes you to a login page, but should be fine once logged in with GitHub) |
That should be pretty straightforward, I think.
This link was failing: https://www.gitpod.io/blog/local-app. Either it was down very briefly (it's back up now), or they're doing some odd stuff with SSR and it defaults to a 404! I was getting that on all docs pages for a sec. |
Can it be done without creating another docker-compose and .env file though? Also I think the media stuff will still be broken, but that's broken locally anyway so maybe less of a big deal |
Yeah I think you can just add env vars before the docker-compose command. |
No, actually; that probably won't work. Sorry, I misunderstood something. I think we can create an override docker-compose file though. Something like |
93ae24f
to
1641668
Compare
That extra https://gitpod.io/#https://github.com/Couchers-org/couchers/tree/backend/feature/gitpod-test I've also updated the README and removed the reference to the companion app, so now it is really all on in the browser! |
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.
Getting very nitpicky... sorry!
Just tried running this. It's looking good! A few more things that I noticed:
|
Tried to fix this |
Is that a setting in some couchers mapbox account? Any luck?
Yeah I think that might be difficult without some command to substitute in the value into the file itself before spinning the Docker containers up, but then people might end up accidentally committing those changes so I'm not sure that's a good idea :/ lol maybe the companion app is still the easiest way due to how finicky our setup is / Gitpod's domains are too dynamic |
I think if you add to the gitpod override docker compose file like this
with no value, then I think you should be able to pass https://docs.docker.com/compose/environment-variables/#pass-environment-variables-to-containers |
This reverts commit beea220.
As this is confusing and new joiners might think to use the preview. Instead, they should be going to localhost:3000 in a new tab
17b7c7c
to
977b381
Compare
@darrenvong could you review please? (You made the pr so can't ask for review through gh) |
Just tried with my latest tweaks and this looks good to me! Can't approve it as I originally opened the PR 😅 |
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.
Works for me :)
Taking over and wrapping up #1749. Added some instructions on using Gitpod in the frontend readme as another option for getting started!
Thanks @pawlean for introducing this to us in the first place :D
Open and test this at: https://gitpod.io/#https://github.com/Couchers-org/couchers/tree/backend/feature/gitpod-test
N/A on checklists, since no code changes to either frontend nor backend