Skip to content
A starter template for Pelican and netlify CMS
Branch: master
Clone or download
Pull request Compare This branch is even with netlify-templates:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
.gitignore
Makefile
README.md
develop_server.sh
fabfile.py
pelican.pid
pelicanconf.py
publishconf.py
requirements.txt

README.md

Pelican + netlify CMS

This is the basic Pelican starter site, with netlify CMS integrated.

Getting Started

Clone this repository to your local machine, then download the relevant release of the netlify-git-api CLI tool.

CD into your new repo, and run:

netlify-git-api users add
netlify-git-api serve

Then open a new terminal, CD into your new repo and run:

virtualenv pelican-env
source pelican-env/bin/activate
pip install -r requirements.txt
./develop_server.sh start

Now navigate to localhost:8000 to preview the site, and to localhost:8000/admin to log into the CMS.

Deploying to production

To deploy to production, make sure to push this repository to a Github repo you own.

Then go to netlify and start a new project. Pick your new Github repository.

Fill out the build command and public folder:

Build command: make publish Folder: /output

Now go to the GitHub developer application screen and register new application.

Register New application (on GitHub)

Once you've setup the application, go back to netlify, navigate to the Access tab. Then fill in your new Client ID and Client Secret in the Github Authentication Provider and check the Enable GitHub box.

Now anybody with write access to your GitHub repository can log in at yoursite.netlify.com/admin and use the CMS.

Enjoy!

Bug reports, feature requests, etc

We love feedback, contributions, better documentation, tutorials, general comments, random hatemail, rants, love, crazy ideas, etc, etc!

Contact us at any of netlify's normal channels and open issues or pull requests at the netlify-cms GitHub repo

You can’t perform that action at this time.