3.2.0 • Published 5 months ago
decap-server v3.2.0
Decap CMS Proxy Server
Decap CMS Proxy Server is an express server created to facilitate local development.
How It Works
- Navigate to a local Git repository configured with the CMS.
- Run
npx decap-server
from the root directory of the above repository. - 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
- Start you local development server (e.g. run
gatsby develop
).
Custom Configuration
- Create a
.env
file in the root directory of your local Git repository. - 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
3.2.0
5 months ago
3.1.2
10 months ago
3.1.1
10 months ago
3.1.3-beta.0
10 months ago
3.1.0
10 months ago
3.0.4
1 year ago
3.0.3
1 year ago
3.0.2
1 year ago
3.0.2-beta.0
1 year ago
3.0.1
2 years ago
3.0.0
2 years ago
1.4.0-beta.0
2 years ago