-
Notifications
You must be signed in to change notification settings - Fork 62
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
Adjustments for our wonderful Windows users #759
Conversation
@carolynvs @zack-shoylev Can you please give this a look? @gpdowning I think you'll be interested in tracking this as well. FYI, I made these changes as this tutorial advises WIndows users to use the Docker Quickstart Terminal. |
I am reviewing now, some of my comments are for the original, not just the changes. Trying to figure out how to leave comments on something other than the diff... 😄 |
When I run
My docker-compose version is 1.6.0, build cdb920a. I'm updating now to see if that makes a difference. |
Heh, updating to the latest version of toolbox broke everything... This may take a bit longer to fix and finish reviewing! |
@carolynvs This tweet fixed the Compose version issue 😄 |
I've run into the dreaded docker/machine#1954 which means that I can't test this for another 6 hours or so... I'm having another go at troubleshooting that problem while I'm waiting. 😄 |
The instructions for https://github.com/everett-toews/getcarina.com/blob/py-dev-win/_getting-started/2016-03-08-python-web-app-dev.md#initialize-the-environment-1 are not what we recommend. Can we point them instead to this? Create and connect to a cluster. In most of the tutorials that link is the first step, without any additional text. |
For https://github.com/everett-toews/getcarina.com/blob/py-dev-win/_getting-started/2016-03-08-python-web-app-dev.md#build-the-images, I tested the interactive |
I wasn't able to run through the tutorial due to unrelated problems but I've commented on anything that made my "windows sense" tingle. |
I think this boils down to...do we need to add something like the following to Create and connect to a cluster If you've installed the Docker Toolbox on Windows and are using the Quickstart Terminal, run the following commands: $ cd Downloads/mycluster
$ source docker.env
$ export DOCKER_CERT_PATH=C:\\Users\\everett\\Downloads\\mycluster because you have to setup things a bit differently when using the Docker Toolbox on Windows and the Quickstart Terminal. What do you think? |
ick, okay yeah I remember this now... How about we have them run this if they are on windows?
We just need to get
That works for me, how about I update Create and Connect with that and remove the caveat from this one? |
I can make the update as part of this PR since this is what motivated it. I'll remove the caveat here. |
👍 |
@carolynvs Give it one last look please. For the |
I ran into some issues: https://gist.github.com/zack-shoylev/0c5693956ad350377db5 After following the steps, at the step where I open the browser, I get a 502 Bad Gateway; the application log complains about not being able to connect upstream. Also had to use DockerToolbox-1.10.3 ; the one I had installed I had to nuke and replace. But I am not sure if this is necessarily windows related. |
@zack-shoylev Ya. That's not a Windows issue. Did you alter the app at all? Why did you have to use |
No, I haven't altered the app. The first time it ran I stopped it and reset everything completely, so I thought it maybe didn't reset properly. I can try to delete everything, reclone, and retry again |
A |
Already tried that, but no luck. |
@everett-toews Nice! I didn't know about changing the deliminator. Just tried it out and reviewed the updated files. Looks good! |
I am guessing maybe this is the problem, but will have to check. |
Yes, that was the problem. Mounting doesn't work from any random directory. |
@zack-shoylev So what exactly do we need to recommend to Windows users to avoid that problem? |
You need to clone carina-examples in a directory under C:\Users[Your username] |
```bash | ||
$ eval $(carina env mycluster) | ||
``` | ||
1. Open a new terminal and initialize as per the instructions for the [Quickstart Termainal]({{ site.baseurl }}/docs/tutorials/create-connect-cluster/#quickstart-terminal) |
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.
small typo: Terminal
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.
"Termainal" is a perfectly cromulent word.
As I understand it, that is a quirk of VirtualBox, not Windows. So mac/linux users should be working in their home directory as well. |
Adjustments for our wonderful Windows users
@carolynvs @zack-shoylev Thanks for the review! |
No description provided.