-
Notifications
You must be signed in to change notification settings - Fork 63k
Initial draft for Python quickstart #6028
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
Initial draft for Python quickstart #6028
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
2. Update your `devcontainer.json` file after `extensions` to include the following: | ||
|
||
```json{:copy} | ||
"forwardPorts": [5000], |
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.
Is there a reason we're updating the ports here (assuming it's based on the update/rebuild example we used to give in remote-try-python)? Perhaps could provide some context on why you'd want to update this, what it's doing, you don't have to designate ports here because Codespaces takes care of dynamic port forwarding, but you can if you'd like.
In my most recent set of changes to remote-try-python, rather than updating forwardPorts
, I guide users through updating portsAttributes
.
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
…rted-with-your-python-project-in-codespaces.md Co-authored-by: Brigit Murtaugh <brigit.murtaugh@microsoft.com>
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
…rted-with-your-python-project-in-codespaces.md Co-authored-by: Brigit Murtaugh <brigit.murtaugh@microsoft.com>
…rted-with-your-python-project-in-codespaces.md Co-authored-by: Brigit Murtaugh <brigit.murtaugh@microsoft.com>
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
It generally looks good to me. My primary question is if this is going to be the only intro to Python doc for Codespaces. One of the cool things (to me) is the fact a Flask app like this could run without having to create a Docker container |
…rcentsilk/docs-1 into codespaces-python-quickstart
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@GeekTrainer The sample repo I reference will get a readme that has instructions to just open + run without needing to do anything and we'll have that sample repo referenced on our landing page for Codespace docs. |
…rted-with-your-python-project-in-codespaces.md Co-authored-by: Christopher Harrison <chrhar@microsoft.com>
…rcentsilk/docs-1 into codespaces-python-quickstart
This comment has been minimized.
This comment has been minimized.
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
...es/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces.md
Outdated
Show resolved
Hide resolved
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Why:
Closes [issue link]
What's being changed:
Adding a quickstart for Python apps in Codespaces to help guide users through adding and updating a devcontainer definition for their Python projects
Check off the following:
Writer impact (This section is for GitHub staff members only):