Socket
Socket
Sign inDemoInstall

netlify-cms-proxy-server

Package Overview
Dependencies
108
Maintainers
17
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    netlify-cms-proxy-server

Proxy server to be used with Netlify CMS proxy backend


Version published
Weekly downloads
2.6K
decreased by-6.08%
Maintainers
17
Install size
5.40 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 13 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc