This is a static CMS written in nextjs and netlify-cms, using netlify's git-gateway. The goals of this project are:
- To create a zero-fee CMS template
- To be based off of completely opensource solutions, and no vendor lock-in
- TO use netlify's git-gateway and media upload functionality for easy media uploads
In future we are to create our own media upload library using git-gateway and nextjs's serverless functions
-
Deploy to netlify
-
Configure netlify-cms config
goto
public/admin/config.yml
backend: name: git-gateway repo: OWNER/YOUR_GITHUB_REPO base_url: https://example.com/
-
Setup netlify identity and enable git-gateway
-
Add github as OAuth Provider
Troubleshoot nextjs on netlify here and authentication here
We have been able to achieve a complete zero-fee system, with two lock-ins
- netlify identity
- github lock-in
- remove dependancy on oauth
- remove github lock-in
- store it in gitlab
- you loose codespaces for private repos
- add in docker
- you loose codespaces for private repos
- store it in gitlab
- create a nextjs static site
- on github
- move over to vercel
- deploy on vercel
- add netlify-cms
- add pages and collections
- home
- navigation
- links[]
- heroImage
- heroCTA
- heroText
- Sections
- footer
- col[]
- title
- links[]
- col[]
- navigation
- about
- herosection
- heroImage
- contact
- herosection
- heroImage
- blog[]
- home
- add github oauth to vercel
- add pages and collections
- add docker, docker-compose and scripts
- make a dockedrepo
- make it a monorepo
- move to gitlab
- add tinacms