Times•λ , the entrance of project lambda and the world
Branch: master
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.
Skeleton
Utilities
static
LICENSE
Main.hs
README.md
lambda-design.png
proj.cabal
robot.txt
stack.yaml
submit.gif
view.gif

README.md

Introduction

A Hacker-News-like social information platform written in Haskell, focusing on IT industry and computer science, which users could publish general news, academic contents and questions through it. Reducing time wasting on nonnutritive information is the major goal

Demo

Chinese blog article

Version

0.2.9

First Launch

Please configure following settings before your first launch:

  1. Configure postgre server, and set dbname/pass/etc. in Skeleton/Kernel/Internal/Model.hs

  2. Set email account in Skeleton/Kernel/Core/Mail.hs

  3. Put dist of ProLambda/Times-default-theme into static folder

  4. -- initializeStatDb

    -- initializeNewsDb

    -- setLevel "xxx" 12 (+1) -- "xxx" could be any registered user, for setting super admin, can be run when has at least one user

    uncomment up 3 lines in Main.hs, this is necessary init step, then do following

    $stack build
    $stack exec proj
    
  5. Comment all 3 lines in step 4 and then $stack build again

  6. For DISQUS configuration, please check relative JS code in main.html

  7. For PostgreSQL setting, please refer to official doc

Demo

Submit

Comment

Full Demo on Youtube

Click Here

Design