This is a dockerized version of PicoCMS, a flat file content management system using Markdown, developed at http://picocms.org
Install Docker and Docker Compose.
Retrieve the project from: https://github.com/guillaumeprevost/docker-picocms
Use the standard docker-compose
commands:
-
docker-compose build
-
docker-compose up -d
To stop the container:
docker-compose down
Once up and running, 4 docker volumes allow changes directly into the container:
- plugins: pico_edit plugin is pre-installed. Follow PicoCMS doc to install plugins. (Find more plugins)
- themes: the default theme is installed. Follow PicoCMS doc to add or edit themes. (Find more themes)
- content: the initial sample content files are present. Follow PicoCMS doc to create content
- config: The default config is set up. Follow PicoCMS doc to change configuration
The pico_edit plugin is pre-installed (https://github.com/blocknotes/pico_edit),. It enables editing pages directly from the web browser via a password-protected interface.
Visit: http://<your_site>/pico_edit
Initial password: password
- Generate SHA-1 from your desired password at http://www.sha1-online.com/
- Edit the file
plugins/pico_cms/config.php
and insert your sha1 hashed password instead of the existing one (variable $backend_password).