netlify-cms-proxy-server

1.3.24 • Public • Published

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

Package Sidebar

Install

npm i netlify-cms-proxy-server

Weekly Downloads

2,634

Version

1.3.24

License

MIT

Unpacked Size

238 kB

Total Files

28

Last publish

Collaborators

  • youvalv
  • berdav
  • vitaliyr
  • smnh
  • denar90
  • kathmbeck
  • rj-netlify
  • akardet
  • pieh
  • hrishikeshk
  • sarahetter
  • orinokai
  • ericap
  • seanroberts
  • skn0tt
  • mikewen
  • biilmann
  • marcus.netlify
  • jgantunes
  • eduardoboucas
  • netlify-bot
  • nasiba
  • ascorbic
  • erquhart