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
0.2.9
Please configure following settings before your first launch:
-
Set 'allow-newer: true' in ~/.stack/config.yaml
-
Configure postgre server, and set dbname/pass/etc. in Skeleton/Kernel/Internal/Model.hs
-
Set email account in Skeleton/Kernel/Core/Mail.hs
-
Put dist of ProLambda/Times-default-theme into static folder
-
-- 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
-
Comment all 3 lines in step 4 and then
$stack build
again -
For DISQUS configuration, please check relative JS code in main.html
-
For PostgreSQL setting, please refer to official doc
-
create 'database' and 'imgs' folder in root dir