Total Pageviews

Tuesday, 10 December 2013

一个基于java+postgresql的博客程序- yuggoth

https://github.com/yogthos/yuggoth
https://github.com/yogthos/yuggoth/tree/0.5.0-stable

Usage

The blog requires an instance of postgreSQL. On the first run the blog will guide you through setting up the db connection properties and create the necessary tables for you. Then you will be presented with the setup wizard that will allow you to configure the administrator and the blog title. Further configuration can be done on the profile page.

Building and deploying using Leiningen

lein ring server
to run as standalone
lein ring uberjar
java -jar yuggoth-0.5.0-SNAPSHOT-standalone.jar
setting the $PORT environment variable allows changing the port which the standalone instance runs on
to make a deployable WAR
lein ring uberwar
see markdown-clj for supported syntax in posts, any valid HTML will work as well。