Server for stable, curated Haskell package sets
Go to file
Jens Petersen 809ab9bcef summary bullet points and more home improvements
- call blog "News" (also on navbar)
- span5 for .header
- <p> before hoogle
- change hoogle placeholder
- remove brws-pkgs span (wasn't rendering anyway?)
- add bullet points summary of Stackage
- move News to right of it
- add link to other blog news posts
2020-10-31 21:28:03 +08:00
.github/workflows Add bench branch temporarily 2020-07-23 12:16:16 +05:30
app Fix priority of core packages: 2019-07-06 20:52:52 +03:00
bench Benchmark stackage queries 2020-07-09 16:10:05 +05:30
config /stats endpoint 2020-10-16 04:21:08 +03:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
docker Bump base images 2020-08-27 10:30:25 +03:00
src drop redundant import of bimap 2020-10-31 21:28:03 +08:00
static Enable synopsis back 2018-03-14 03:50:16 +05:30
templates summary bullet points and more home improvements 2020-10-31 21:28:03 +08:00
.dir-locals.el Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
.dockerignore Include Git history 2020-04-05 18:29:46 +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
.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
indices Testing out some new indices 2020-07-07 18:40:23 +03:00
LICENSE Root file fixes 2017-12-11 18:54:27 +02:00
package.yaml yesod devel leverages SQLite for simplicity 2020-10-19 13:58:48 +03:00
README.md Move around Dockerfiles 2020-04-05 15:54:27 +03:00
stack.yaml homepage layout changes and more [wip draft] 2020-10-31 20:04:08 +08:00

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: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