|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/managing-frappe-erpnext-custom-code-via-github/
课程评论:没有评论
**Coursera 课程总结:通过 GitHub 管理 Frappe/ERPNext 定制化代码** 本课程旨在教授软件开发者如何利用 GitHub 这个强大的版本控制工具,来管理 Frappe/ERPNext 框架下的定制化代码,并将其安全高效地部署到生产服务器。 **核心内容:** * **GitHub 的版本控制与部署能力:** 明确 GitHub 在代码版本管理和分发到生产环境中的重要作用。 * **在 Frappe/ERPNext 中使用 GitHub:** 介绍如何在进行 Frappe/ERPNext 的开发和代码定制时,结合 GitHub 进行管理。 * **本地开发与远程部署流程:** * 所有开发和定制均在本地实例完成。 * 当新功能或 Bug 修复完成后,将代码推送到 GitHub 的相应分支。 * 远程(生产)实例从 GitHub 拉取最新代码。 * **代码部署至生产服务器的两种方式:** * **手动拉取 (Pull):** 一种直接的方式,手动从 GitHub 获取代码。 * **自动化部署 (GitHub Actions):** 利用 GitHub Actions 实现代码部署的自动化,提高效率和可靠性。 * **课程价值:** 强调该流程能够确保定制化应用的安全,并实现平滑的代码发布。 **课程涵盖主题:** * 课程介绍 * 操作演练 (Walk-through) * 本地与远程实例的最终安装配置 * 创建定制化应用并推送到 GitHub * 创建 DocType 并将其代码推送到 GitHub * 将定制化应用从 GitHub 拉取到远程/云服务器 * 修改 DocType 并通过 `bench migrate` 将更改部署到云服务器
When you are a software developer, GitHub is a handy tool when it comes to version control. GitHub also helps us to manage how code goes to the production server. When doing development with ERPNext and/or the Frappe Framework, we can also manage our code with GitHub.All development and any customization needed is done on the local instance. Once a feature is working well locally, or maybe its a completed bug fix, we push the code to whatever GitHub branch that is managing the code. Our remote instance then pulls the code from GitHub.There are two ways for getting the code to the live server from GitHub. You can either Pull the code manually or you Automate with GitHub actions. Either way, this is a very effective process that will ensure your custom app is safe and any customization you do is being launched smoothly.This is all taken care of in this series.TOPICS COVEREDIntroductionWalk-throughFinalizing the installation of Local and Remote InstancesCreating a custom app and pushing the code to GitHubCreating a DocType and pushing its code to GitHubGetting custom app from GitHub to our remote/cloud serverMaking a change to the DocType and deploying the changes to the cloud server with bench migrate