-
Notifications
You must be signed in to change notification settings - Fork 168
Add Python templates and onboarding documentation #5304
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
base: release-13
Are you sure you want to change the base?
Conversation
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
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.
Hmmm... this is an okay start, but we really need to pivot. We're trying to avoid dotnetcli commands and instead directing users to use the Aspire CLI. Also, all lists need to have complete sentences and proper punctuation.
|
Hey @copilot please address all feedback |
|
This is going to be in sync with the new python integration and assets right? |
| dotnet new aspire-starter | ||
| ``` | ||
|
|
||
| To create an Aspire app with a Python backend and JavaScript frontend: |
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.
This should be using aspire new not dotnet new
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.
I know, I have it going to work... see #5304 (review)
…ructure Co-authored-by: IEvangelist <[email protected]>
Fixed in commit 70d2439. Updated all dotnetcli commands to use Aspire CLI (
All feedback addressed in commit 70d2439:
|
Co-authored-by: IEvangelist <[email protected]>
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.
@copilot please action all my comments and suggestions.
Co-authored-by: alistairmatthews <[email protected]>
All suggestions applied in commit 718554a:
|
|
@copilot Please change the .NET CLI commands on the follow lines of the file build-aspire-apps-with-python.md to their Aspire CLI equivalent:
Do not change the .NET CLI command on line 192 - the Aspire CLI doesn't support specifying a launch profile, which is required, so we must stick with the existing command. |
…on.md Co-authored-by: alistairmatthews <[email protected]>
Fixed in commit. Changed .NET CLI commands to Aspire CLI equivalents on:
Line 192 kept as-is per your instructions (--launch-profile required). |
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.
@copilot please integrate my suggestions.
Co-authored-by: alistairmatthews <[email protected]>
Applied all suggestions. Replaced simple CLI commands with interactive step-by-step instructions:
All changes validated with markdownlint. |
|
Closing and reopening to trigger a build. |
|
Closing and reopening a second time to try and resolve the OPS status checker fail. |
|
|
||
| This tutorial also assumes that you have installed the Aspire CLI. For further instructions, see [Install Aspire CLI](../cli/install.md). | ||
|
|
||
| This tutorial also assumes that you have installed the Aspire CLI. For further instructions, see [Install Aspire CLI](../cli/install.md). |
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.
This is a dupe?
Draft PR to address issue #5151: Python Templates and Onboarding Documentation
This PR creates comprehensive documentation for Python developers using Aspire, covering two main scenarios:
Changes made:
build-aspire-python-app.md- New article for using the aspire-py-starter templatebuild-aspire-apps-with-python.md- Enhanced with onboarding guidance for existing appsaspire-sdk-templates.md- Added Python template with correct structure and Aspire CLI commandstoc.yml- Reorganized Python documentation with nested itemsaspire new,aspire run) instead of dotnetcliOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews