static-cms/packages/netlify-cms-proxy-server
Shawn Erquhart 3b1e9a8837 chore(release): publish
- netlify-cms-app@2.12.13
 - netlify-cms-backend-bitbucket@2.11.5
 - netlify-cms-backend-git-gateway@2.10.5
 - netlify-cms-backend-github@2.10.6
 - netlify-cms-backend-proxy@1.0.7
 - netlify-cms-core@2.27.0
 - netlify-cms-lib-util@2.9.4
 - netlify-cms-locales@1.14.0
 - netlify-cms-proxy-server@1.2.7
 - netlify-cms-widget-code@1.1.5
 - netlify-cms-widget-date@2.5.1
 - netlify-cms-widget-datetime@2.5.0
 - netlify-cms-widget-list@2.5.0
 - netlify-cms-widget-markdown@2.11.3
 - netlify-cms-widget-relation@2.7.0
 - netlify-cms@2.10.49
2020-05-19 17:59:16 -04:00
..
2020-05-19 17:59:16 -04:00
2020-05-19 17:59:16 -04:00
2020-01-22 16:47:34 -05: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