Procedure to maintain a customised website built with Netlify CMS
Overview
I’m not sure how to manage the entire source code of Gatsby CMS site
Purpose of this topic
To get to the appropriate procedure for maintenance of Gatsby CMS site
Idea
Reading this following article Releases | Decap CMS | Open-Source Content Management System , we can see the version management is done through yarn.
If you are using a package manager like Yarn or NPM, use their standard procedure to update. This is how both the Hugo and Gatsby starters are set up.
What if I developed my blog site based on Gatsby starter GitHub - decaporg/gatsby-starter-decap-cms: Example Gatsby + Decap CMS project ? I’m thinking about taking the starter as a SDK of static blog site, aiming to publish the site for official use of my company. If anybody got better ideas than this following procedure to maintain the customised site, would you please share them?
- clone the latest both package.json and yarn.lock from GitHub - decaporg/gatsby-starter-decap-cms: Example Gatsby + Decap CMS project to localhost ( PC )
- Run yarn at local to solve the latest dependency
- Investigate diff between before yarn and after in order to find a conflict ( particularly out of customised codes )
- Resolve any possible conflicts, committing the codes
- Push the commits to a specified Github branch to make it built automatically in Netlify
Optional information
Because there is no “update version” button like in Wordpress admin, I would like to make sure how to do it before starting the static blog site development project with my colleagues