mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Server for stable, curated Haskell package sets
| app | ||
| config | ||
| design | ||
| etc | ||
| src | ||
| static | ||
| templates | ||
| .dir-locals.el | ||
| .ghci | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .travis.yml | ||
| LICENSE | ||
| package.yaml | ||
| README.md | ||
| stack.yaml | ||
stackage-server
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.
postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
postgresql://postgres:password@localhost:5432/stackage
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 and create and populate the database:
$ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
$ stack exec stackage-server-cron
After this, try running in the stackage server:
$ stack exec stackage-server