Comment system
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
js
.gitignore
CGIMain.hs
Comment.hs
DBSetting.hs
Main.hs
Migrator.hs
Model.hs
Page.hs
README.md
Rating.hs
ScottyMain.hs

README.md

Kogarasi

A comment server written in Haskell.

Setup

  1. Setting up database

     $ sudo -u postgres createdb -O kogarasi kogarasi
    
  2. Write database settings in DBSetting.hs

  3. Build

     $ cabal install persistent persistent-postgresql scotty
     $ ghc Migrator
     $ ghc ScottyMain
    
  4. Prepare DB

     $ ./Migrator
    
  5. Run

     $ sudo -u kogarasi ./ScottyMain