Skip to content

Shirakumo/reader

Repository files navigation

About Reader

Reader is a simple blogging platform for Radiance.

How To

Set up Radiance and load Reader through Quicklisp or ASDF. Reader occupies the subdomain reader. You can start writing blogs on reader./write. Editing blogs happens on the same page, by appending /ID with ID being the blog-entry ID.

Install

  1. Make sure the Shirakumo dist is installed and Radiance is set up.
  2. Load reader: (ql:quickload :reader)
  3. Set the title: (setf (radiance:mconfig :reader :title) "My Fancy Blog")
  4. Start radiance: (radiance:startup)
  5. Visit http://radiance.test:8080/!/reader/

Creating and Editing Entries

  1. Make sure you have a user (user:get "username" :if-does-not-exist :create)
  2. Grant it access rights (user:grant "username" '(reader write))
  3. Log in
  4. Visit http://radiance.test:8080/!/reader/write/
  5. To edit, simply change /article/ in the URL of an entry to /write/.

Interface Dependencies

  • database
  • data-model
  • auth
  • cache
  • profile

Configuration Variables

  • (:title)
  • (:description)
  • (:markup) The blog markup to use -- either :markdown, :markless, :html, or :plain. Defaults to :markdown.

Permissions

  • (reader write)