2020-12-27

eleventy: Netlify does not show Workflow tab

I have cloned this eleventy : https://github.com/anborg/eleventy-netlify-boilerplate

I'm trying to enable netlify CMS with local git repo.

I expect to see Workflow section (between Contents and Media) in the below screenshot. What setting should I change to enable Workflow ?

http://localhost:3000/admin/#/collections/blog enter image description here

admin\config.yml

local_backend:
  url : http://localhost:3030/api/v1
  # when accessing this from other hosts
  allowed_hosts : ['*']

backend:
  name: github
  repo: anborg/one-click-hugo-cms
  branch: master # optional, defaults to master
  open_authoring: true

# Uncomment below to enable drafts
publish_mode: editorial_workflow

.env

# This file is used by stat:netlifyProxy for port 3030
#### below props are for npx netlify-cms-proxy-server #######

# optional, defaults to current directory
#GIT_REPO_DIRECTORY=FULL_PATH_TO_LOCAL_GIT_REPO
# optional, defaults to 8081
PORT=3030

package.json has proxy

{
  "proxy": "http://localhost:3030",
  "name": "eleventy-netlify-boilerplate",
  "version": "1.0.3",
  "description": "A boilerplate for building a fast static website with the Eleventy static site generator, for deployment to Netlify.",
  "scripts": {
    "start": "run-p start:**",
    "start:eleventy": "set ELEVENTY_EXPERIMENTAL=true && npx @11ty/eleventy --serve --port=3000",
    "start:netlifyProxy": "npx netlify-cms-proxy-server",

    "build": "npx eleventy",
    "watch": "npx eleventy --watch",
    "debug": "DEBUG=* npx eleventy"
  },
  "repository": {

enter image description here



from Recent Questions - Stack Overflow https://ift.tt/38DAoCh
https://ift.tt/2M26boU

No comments:

Post a Comment