Add Python Developer Guide section to documentation portal #102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a comprehensive Python Developer Guide section to the documentation portal, providing onboarding and development resources for Python applications within the Easy Software ecosystem.
What's New
A new Python Developer Guide section has been added to the documentation, covering:
📚 Documentation Structure
x_release.pyscript🔗 Navigation Integration
The new section is positioned after "End-to-end testing" and before "Release guides" in the documentation portal's navigation menu (
toc.json).Files Added
docs/Python_tutorials/_index.mddocs/Python_tutorials/getting_started.mddocs/Python_tutorials/development.mddocs/Python_tutorials/release_new_version.mddocs/Python_tutorials/useful_links.mddocs/Python_tutorials/azure_openai.mdFiles Modified
toc.json- Added Python Developer Guide section entriesNotes
Original prompt
Add new section for our python applciation: these are our work in progress documentation files:
Python Developer Guide
Welcome to the team! This guide will help you get started with the tools, workflows, and best practices for contributing
effectively to our projects.
Table of contents
Development
Back to index
Activate virtualenv
source venv/bin/activateStart the application in development mode
Getting started
Welcome to the team!
This guide will help you get started with the tools, workflows, and best practices for contributing effectively to our
projects. Back to index
ToC
Prerequisites
List of things that are expected to be done by the time you are reading this document
SSH key setup
Use your existing ssh key https://docs.gitlab.com/ee/user/ssh.html#see-if-you-have-an-existing-ssh-key-pair
or create generate a new one https://docs.gitlab.com/ee/user/ssh.html#generate-an-ssh-key-pair
Add the public key to your gitlab profile https://docs.gitlab.com/ee/user/ssh.html#generate-an-ssh-key-pair
Add the public key to your ESko profile https://es.easyproject.com/my/account.
This key will be used to access servers in our cloud.
IDE setup
PyCharm
Installation
Should be enough for development. But we are open to professional edition as well.
Configuration
Settings->Plugins->Marketplace->Pylint->InstallVSCode
Deployments and code delivery
Back to index
#ToC:
Release new version using release script
run
python x_release.pyfrom this file directorypython cli/x_release.pyfrom GIT root directorycontinue with Release in Gitlab section
Release new version manually
Create branch X.Y.Z
Change changelog.md
In changelog.md file, we should add a line with version under
## [Unreleased].Change version.txt
Update version number in
version.txtfileRelease in Gitlab
chore(release): 0.8.3. This name will be used as a name of the commit tomaster.
Branches->mastermasterbranchintegration_testsjobbuild_production_docker_imagejobA new task in esko is automatically created.
You can see the task id at the end of the pipeline log.
For example this one: https://es.easyproject.com/issues/636174
Useful links
List of links one might find useful from time to time.
Back to index
Easy AI chain repo: https://git.easy.cz/devel/ai/easy_ai_chain
Falcon project: https://es.easyproject.com/projects/falcon
Falcon team scrum board: https://es.easyproject.com/easy_team_sprint_boards/8
💡 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.