static-cms/packages/netlify-cms-backend-git-gateway
erezrokah 92d8c50272
chore(release): publish
- netlify-cms-app@2.15.0
 - netlify-cms-backend-azure@1.2.0
 - netlify-cms-backend-bitbucket@2.13.0
 - netlify-cms-backend-git-gateway@2.12.0
 - netlify-cms-backend-github@2.13.0
 - netlify-cms-backend-gitlab@2.11.0
 - netlify-cms-backend-proxy@1.2.0
 - netlify-cms-backend-test@2.11.0
 - netlify-cms-core@2.40.0
 - netlify-cms-default-exports@2.4.0
 - netlify-cms-editor-component-image@2.7.0
 - netlify-cms-ui-default@2.13.0
 - netlify-cms-widget-boolean@2.4.0
 - netlify-cms-widget-code@1.3.0
 - netlify-cms-widget-colorstring@1.1.0
 - netlify-cms-widget-date@2.6.0
 - netlify-cms-widget-datetime@2.7.0
 - netlify-cms-widget-file@2.10.0
 - netlify-cms-widget-image@2.8.0
 - netlify-cms-widget-list@2.9.0
 - netlify-cms-widget-map@1.5.0
 - netlify-cms-widget-markdown@2.13.0
 - netlify-cms-widget-number@2.5.0
 - netlify-cms-widget-object@2.7.0
 - netlify-cms-widget-relation@2.10.0
 - netlify-cms-widget-select@2.8.0
 - netlify-cms-widget-string@2.3.0
 - netlify-cms-widget-text@2.4.0
 - netlify-cms@2.10.120
2021-05-04 11:21:35 +03:00
..
2021-05-04 11:21:35 +03:00
2021-05-04 11:21:35 +03:00

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:

  1. 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

  2. Tell the CMS the URL of your Netlify site using a local storage item. To do so:

    1. Open http://localhost:8080/ in the browser
    2. Write the below command and press enter: localStorage.setItem('netlifySiteURL', 'https://yourwebsiteurl.netlify.app/')
    3. To be sure, you can run this command as well: localStorage.getItem('netlifySiteURL')
    4. Refresh the page
    5. You should be able to log in via your Netlify Identity email/password