- 1 前言
- 1.1 开始之前
- 1.2 今日箴言应用
- 2 命令行接口
- 2.1 执行一条命令
- 3 静态页面实现
- 3.1 初始化工程
- 3.2 静态服务器:http-server
- 4 React应用
- 4.1 安装和配置React
- 4.2 打包工具
- 4.3 实现“下一条”
- 4.4 小结
- 5 自动化测试
- 5.1 验收测试
- 5.2 测试今日箴言
- 5.3 测试用户交互
- 5.4 小结
- 6 和后端API通信
- 6.1 Quotable API
- 6.2 前端代码
- 6.3 修复测试
- 6.4 重构代码
- 6.5 小结
- 7 静态检查
- 7.1 配置ESlint
- 7.2 Git Hooks
- 7.3 使用Husky
- 7.4 小结
- 8 实现持续交付
- 8.1 持续集成
- 8.2 Github Actions简介
- 8.3 创建工作流
- 8.4 生成软件包
- 8.5 执行验收测试
- 8.6 持续交付
- 8.7 小结
- 9 后记
- 1 前言
可部署软件的生产过程
自动化构建与持续交付
你会学习到如何通过自动化测试,接口模拟,以及持续集成和持续交付,构建一个稳健、可扩展的应用,同时实现快速反馈和高效交付。本书的目标是帮助你实现以终为始的开发方式,高效而专业地进行软件开发。这是一本专为那些渴望提高开发效率,同时想要深入理解自动化和持续交付在现代软件开发中作用的程序员们准备的书籍。
The author is letting you choose the price you pay for this book!
你会学习到如何通过自动化测试,接口模拟,以及持续集成和持续交付,构建一个稳健、可扩展的应用,同时实现快速反馈和高效交付。本书的目标是帮助你实现以终为始的开发方式,高效而专业地进行软件开发。这是一本专为那些渴望提高开发效率,同时想要深入理解自动化和持续交付在现代软件开发中作用的程序员们准备的书籍。
About
About the Book
《可部署软件的生产过程》是一本专为那些希望从入门到精通自动化和持续交付的程序员们准备的实战指南。这本书的目标是帮助读者理解和掌握构建脚本、自动化、持续集成和持续交付这些核心概念,以及它们在现代软件开发实践中的应用。
本书将带你从创建一个简单的静态页面开始,逐步引入package.json中的构建脚本,静态服务器,然后深入到React以及打包器(bundler),静态检查等概念。你将会学习到如何编写和运行验收测试,如何与后台API交互,如何使用stub,以及如何逐步丰富你的构建脚本。接着,你将通过实战案例学习到如何引入持续集成和持续交付,如何设置和使用GitHub Actions,以及如何将你的应用部署到GitHub Pages上。
这本书的理念是——通过自动化和持续交付,程序员可以建立起快速、流畅的反馈机制,从而提高开发效率,同时更有信心地发布他们的应用。借助本书的指导,你将掌握这些关键技能,成为一个能以终为始、能更专业、更高效地开发软件的程序员。
Feedback
Price
Pick Your Price...
With Membership
Free!
$15.00
You pay
$15.00Author earns
$12.00Author
About the Author
Juntao Qiu
Hi, I'm Juntao, and I help developers write better code through clear, practical guidance.
I am deeply committed to contributing to both the online and offline developer communities, sharing insights and knowledge gleaned from my experiences in various projects. Among my contributions are several publications focused on Web Development. Notably, my latest works include "React Anti-Patterns" (2024), "Test-Driven Development with React (2nd)" (2023) and "Maintainable React" (2022).
Additionally, I host a YouTube channel (@icodeit.juntao), where I delve into Clean Code practices and Refactoring techniques, aiming to assist developers in honing their coding skills.
Contents
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.