netlify-cms-backend-git-gateway
v2.13.1
Published
Git Gateway backend for Netlify CMS
Downloads
23,832
Readme
Git Gateway
Netlify's gateway to hosted git APIs.
Code structure
Implementation
for File Management System API based on Api
.
Api
and Implementation
from backend-github/gitlab/bitbacket extended with Netlify-specific LargeMedia(LFS)
and JWT
auth.
AuthenticationPage
- uses lib-auth and implements Netlify Identity authentication flow.
Look at tests or types for more info.
Debugging
When debugging the CMS with Git Gateway you must:
Have a Netlify site with Git Gateway and Netlify Identity enabled. An easy way to create such a site is to use a template, for example the Gatsby template
Tell the CMS the URL of your Netlify site using a local storage item. To do so:
- Open
http://localhost:8080/
in the browser - Write the below command and press enter:
localStorage.setItem('netlifySiteURL', 'https://yourwebsiteurl.netlify.app/')
- To be sure, you can run this command as well:
localStorage.getItem('netlifySiteURL')
- Refresh the page
- You should be able to log in via your Netlify Identity email/password
- Open