- purpose:
- personal blogging platform
- an exercise after http://clojure-doc.org/articles/tutorials/basic_web_development.html (@ july 2017)
- deployed at:
- license:
- mit (source code)
- cc by-nc-sa 4.0 (superposed content)
- Place all markdown files (eg. your individual blog posts) into a folder situated as
db/
. The filenames should end in.md
and the file contents can include metadata, of which onlytitle
,date
,keywords
, andjs
* are used.- * the
js
key does not appear in the MultiMarkdown specs, but yogthos/markdown-clj seems to recognise arbitrary keys nonetheless.
- * the
example, db/n.md:
title: Neuromancer (William Gibson)
date: 457488001
keywords: Science Fiction, Cyberpunk
js: wintermute.min.js
# Part 1, Chiba City Blues
## 1
The sky above the port was the color of ...
- Create a profile config, under “development”, “next”, or “master”.
example, config/master/config.edn:
{:env "master"
:port 8000}
- Execute
lein with-profile PROFILE run
. Following the above config example, “PROFILE” would be “master”.