All Projects → fpco → Stackage Server

fpco / Stackage Server

Licence: mit
Server for stable, curated Haskell package sets

Programming Languages

haskell
3896 projects

stackage-server

Runtime image

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:[email protected]: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:[email protected]:5432/stackage
$ stack exec stackage-server
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].