Server for stable, curated Haskell package sets
Go to file
Deni Bertovic 3f5c5e8647
Merge pull request #263 from fpco/production-deployment
review-apps: Update gitlab-ci.yml to deploy helm production chart
2019-03-17 17:40:27 +01:00
app Root file fixes 2017-12-11 18:54:27 +02:00
config Use yesod-gitrev and githash 2018-06-25 12:35:42 +03:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
etc Enable cron 2019-03-17 17:38:45 +01:00
src Bump to lts-13.9 2019-02-25 20:29:58 -05:00
static Enable synopsis back 2018-03-14 03:50:16 +05:30
templates haskell-lang -> haskell.fpcomplete 2019-02-25 21:17:17 -05:00
.dir-locals.el Add johan-tibell style to .dir-locals.el 2016-06-14 16:46:45 +02:00
.ghci Update .ghci file to include some extensions 2014-11-03 12:33:59 +01:00
.gitignore Convert to hpack 2017-12-11 19:05:53 +02:00
.gitlab-ci.yml Merge branch 'master' into production-deployment 2019-03-17 17:09:24 +01:00
.travis.yml Don't use Haddock 2018-06-25 13:07:32 +03:00
LICENSE Root file fixes 2017-12-11 18:54:27 +02:00
package.yaml Add dev flags to both the executables 2018-08-25 22:12:31 +05:30
README.md Make it more clear 2018-08-25 23:49:43 +05:30
stack.yaml Bump to lts-13.9 2019-02-25 20:29:58 -05:00

stackage-server

Build Status

Server for stable, curated Haskell package sets

This repo is part of the Stackage project, and the live server can be viewed at https://www.stackage.org.

Building locally

Build locally by passing the dev flag to it:

$ stack build . --flag stackage-server:dev

Now, initially you need to run the cron job to create and populate the database:

$ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
$ stack exec stackage-server-cron

Note that you need to modify the PGSTRING environment variable according to your actual database configuration. Also, you need to create an empty database before running the cron job. Note that it takes quites some time for it to load your database.

After this, run the stackage server:

$ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
$ stack exec stackage-server