I am using pelican to create myself a static site.
I'm trying to build the site in Netlify. I am using the following image in Netligy:
Ubuntu Xenial 16.04 (default) Current default build image for all new sites
And am trying to build using the command:
pelican
However I get the following error:
pelican: Command not found
I have a runtime.txt file with 3.5.2
Has anyone managed to set up a site using pelican in Netlify? How do I set up my site as continuous deployment?
If you setup everything correctly, you can use the command make publish
and publish would be output
. Those are the typical defaults for pelican the last time I tested it.
If you do not have a requirements.txt
file, you can run:
pip freeze > requirements.txt
You can include a netlify.toml
file in your project (repository) root.
netlify.toml
[build]
command = "make publish"
publish = "output"
Note: the two publish command names are not related. The makefile publish is usually a default. The build.publish
tells Netlify where to get the site for publishing to the CDN.