static-cms/packages/netlify-cms-proxy-server
GitHub Action edd8052e13 chore(release): publish
- netlify-cms-app@2.12.19
 - netlify-cms-backend-bitbucket@2.12.1
 - netlify-cms-backend-git-gateway@2.11.1
 - netlify-cms-backend-github@2.11.2
 - netlify-cms-backend-gitlab@2.9.1
 - netlify-cms-backend-proxy@1.1.1
 - netlify-cms-backend-test@2.10.1
 - netlify-cms-core@2.30.3
 - netlify-cms-default-exports@2.3.1
 - netlify-cms-editor-component-image@2.6.3
 - netlify-cms-lib-auth@2.2.9
 - netlify-cms-lib-util@2.11.1
 - netlify-cms-lib-widgets@1.3.2
 - netlify-cms-locales@1.17.1
 - netlify-cms-media-library-cloudinary@1.3.5
 - netlify-cms-media-library-uploadcare@0.5.6
 - netlify-cms-proxy-server@1.3.1
 - netlify-cms-ui-default@2.11.2
 - netlify-cms-widget-boolean@2.3.1
 - netlify-cms-widget-code@1.2.1
 - netlify-cms-widget-date@2.5.2
 - netlify-cms-widget-datetime@2.6.1
 - netlify-cms-widget-file@2.7.1
 - netlify-cms-widget-image@2.7.1
 - netlify-cms-widget-list@2.6.2
 - netlify-cms-widget-map@1.4.1
 - netlify-cms-widget-markdown@2.12.2
 - netlify-cms-widget-number@2.4.2
 - netlify-cms-widget-object@2.5.2
 - netlify-cms-widget-relation@2.8.3
 - netlify-cms-widget-select@2.6.1
 - netlify-cms-widget-string@2.2.4
 - netlify-cms-widget-text@2.3.1
 - netlify-cms@2.10.55
2020-07-27 17:22:37 +00:00
..
2020-07-27 17:22:37 +00:00
2020-07-27 17:22:37 +00:00

Netlify CMS Proxy Server

Netlify CMS Proxy Server is an express server created to facilitate local development.

How It Works

  1. Navigate to a local Git repository configured with the CMS.
  2. Run npx netlify-cms-proxy-server from the root directory of the above repository.
  3. Update your config.yml to connect to the server:
backend:
  name: proxy
  proxy_url: http://localhost:8081/api/v1
  branch: master # optional, defaults to master
  1. Start you local development server (e.g. run gatsby develop).

Custom Configuration

  1. Create a .env file in the root directory of your local Git repository.
  2. Update the file as follows:
# optional, defaults to current directory
GIT_REPO_DIRECTORY=FULL_PATH_TO_LOCAL_GIT_REPO
# optional, defaults to 8081
PORT=CUSTOM_PORT