Server for stable, curated Haskell package sets
Go to file
Deni Bertovic d2ee4f0f13
Temporary switch to new k8s secrets name
This is needed to we can easily migrate to the new db with the
recent pantry changes. If something goes wrong we can simply revert to
the old secret (and hence the old db).

Once the upgrade is done (and verified) we can update the old secret and
update the name in this commit (back to it's original name)
2019-06-17 15:21:59 +02:00
.azure Add a missing update 2019-05-26 13:15:09 +03:00
app Made status reporting and cabal file caching optional for the cron job 2019-05-25 20:00:28 +03:00
config Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
etc Temporary switch to new k8s secrets name 2019-06-17 15:21:59 +02:00
src Made status reporting and cabal file caching optional for the cron job 2019-05-25 20:00:28 +03:00
static Enable synopsis back 2018-03-14 03:50:16 +05:30
templates Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.dir-locals.el Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.ghci Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.gitignore Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.gitlab-ci.yml Merge branch 'master' into production-deployment 2019-03-17 17:09:24 +01:00
.hindent.yaml Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.stylish-haskell.yaml Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
LICENSE Root file fixes 2017-12-11 18:54:27 +02:00
package.yaml Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
README.md Make it more clear 2018-08-25 23:49:43 +05:30
stack.yaml Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03: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