MDCMS stands for Markdown CMS. A simple lightweight CMS which lets you write posts in markdown.
287
MDCMS is a simple content management system which lets you write posts in markdown.
For an example site that is built on MDCMS, visit bytesarena.com.
MDCMS is written in Go.
Here are the steps to set up a website in minutes.
mkdir markdown images files
touch config.txt
touch about.md
touch downloads.md
sitename=<name>
Run the below commands to pull and run the container.
docker run -d \
-p 80:80 \
-v $(pwd)/markdown:/go/src/github.com/sandeeprenjith/mdcms/markdown \
-v $(pwd)/files:/go/src/github.com/sandeeprenjith/mdcms/files \
-v $(pwd)/images:/go/src/github.com/sandeeprenjith/mdcms/images \
-v $(pwd)/config.txt:/go/src/github.com/sandeeprenjith/mdcms/config.txt \
-v $(pwd)/about.md:/go/src/github.com/sandeeprenjith/mdcms/templates/about.md \
-v $(pwd)/downloads.md:/go/src/github.com/sandeeprenjith/mdcms/templates/downloads.md \
--name some-site \
rensande/mdcms
Your server will immediately start serving your website.
You can add an about section by adding text to the about.md file in markdown format.
You can add content to your site by adding markdown files to the markdown directory.
The site comes with a Downloads section. If you need to serve files, add them to the files directory. You can add writeups about them in the downloads.md file and add links pointing to "/files/".
Content type
Image
Digest
Size
291.7 MB
Last updated
almost 8 years ago
docker pull rensande/mdcms