You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Konstantin Zudov b4f2c27017 Provide JSON representation of the diff 6 years ago
Data Download links for latest Stack (fixes commercialhaskell/stack#532) 6 years ago
Distribution/Package Lay out module listings hierarchically 6 years ago
Handler Provide JSON representation of the diff 6 years ago
Settings Cabal file loader development flag 7 years ago
Stackage ToJSON for SnapshotDiff 6 years ago
app Beginning of stackage-server-cron 6 years ago
config Badges 6 years ago
design New homepage and new top nav (#52) 6 years ago
docker Build Docker images with stack instead of cabal 6 years ago
static Highlight code in README files 6 years ago
templates Refactor snapshot diffs 6 years ago
test LTS update, warning cleanup 6 years ago
.dir-locals.el Use cabal-repl 7 years ago
.ghci Update .ghci file to include some extensions 7 years ago
.gitignore Update gitignore 6 years ago
.travis.yml Don't use wildcards 6 years ago
Application.hs Fix Haddocks 6 years ago
DevelMain.hs Restrict snapshots to fpcomplete-only 7 years ago
Echo.hs Remove !MIN_VERSION_time(1,5,0) conditional 6 years ago
Foundation.hs Download links for latest Stack (fixes commercialhaskell/stack#532) 6 years ago
Import.hs Got rid of trivial ghc warnings 6 years ago
LICENSE Initial commit 7 years ago
README.md Update README 6 years ago
Settings.hs Allow less downloading during dev 6 years ago
Types.hs ToJSON for SnapshotDiff 6 years ago
devel.hs Support using echo/not logging to stdout 7 years ago
docker.sh docker.sh: more useful output at end 6 years ago
font-awesome.min.css Pretty package page with metadata 7 years ago
fpbuild.config Add fpbuild.config 6 years ago
stack.yaml Bump the resolver 6 years ago
stackage-server.cabal ToJSON for SnapshotDiff 6 years ago
upload-cabal-loader.sh Buffering and upload script 7 years ago

README.md

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.

Inside the config directory, there are two files ending in -sample. They should be copied to remove the -sample suffix for the site to work. We do it this way to avoid accidentally committing real database credentials into the Git repository.

Running the server will automatically download an SQLite3 database from S3 containing package metadata and snapshot information. Note that this is unlike previous versions of this codebase, that stored that information in PostgreSQL, and required that local development uploaded its own snapshots.

The SQLite3 database is generated by the stackage-server-cron executable in this repository.