No description
Find a file
2015-05-10 12:06:02 +03:00
app Support for --summary (pinging @DanBurton) 2015-04-01 16:59:58 +03:00
config GhcMajorVersion doesn't need a table. 2015-05-01 22:08:09 -07:00
Data Add ghc-major-version to Stackage table #88 2015-05-01 21:37:53 -07:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
Handler Switch to stackage-build-plan 2015-05-10 12:06:02 +03:00
Settings Cabal file loader development flag 2014-06-16 11:07:03 +02:00
static Open search description files 2015-04-27 18:11:38 -07:00
templates Open search description files embedded in the default-layout-wrapper. 2015-05-06 23:09:02 -07:00
test LTS update, warning cleanup 2015-03-26 18:50:38 +02:00
.dir-locals.el Use cabal-repl 2014-08-24 11:41:36 +02:00
.ghci Update .ghci file to include some extensions 2014-11-03 12:33:59 +01:00
.gitignore Ignore stackage-content 2014-12-15 15:13:06 +02:00
.travis.yml Fix Travis 2015-04-02 11:45:19 +03:00
Application.hs Add sketch of 'stackage' executable download pages 2015-04-15 16:35:19 -07:00
cabal.config Bump to LTS 2.4 2015-04-26 08:50:00 +03:00
devel.hs Support using echo/not logging to stdout 2014-06-01 11:58:37 +02:00
DevelMain.hs Restrict snapshots to fpcomplete-only 2014-07-21 12:41:32 +02:00
Echo.hs Fix all warnings 2014-07-30 12:10:45 +03:00
font-awesome.min.css Pretty package page with metadata 2014-11-03 12:33:59 +01:00
Foundation.hs LTS update, warning cleanup 2015-03-26 18:50:38 +02:00
fpbuild.config Add fpbuild.config 2015-01-07 16:00:36 +00:00
Import.hs More error information when Haddock unpacking fails 2015-03-25 15:31:33 +02:00
LICENSE Initial commit 2014-04-09 00:37:17 -07:00
Model.hs GhcMajorVersion doesn't need a table. 2015-05-01 22:08:09 -07:00
README.md Update README.md (upload2 is now upload) #85 2015-05-01 22:44:34 -07:00
Settings.hs Google OAuth authentication #40 2014-11-27 14:08:18 +02:00
stackage-server.cabal Switch to stackage-build-plan 2015-05-10 12:06:02 +03:00
Types.hs Use MonadThrow instead of MonadPlus to preserve error information 2015-05-05 16:03:28 -07:00
upload-cabal-loader.sh Buffering and upload script 2014-11-17 10:47:59 +02: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.

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.

How to upload a snapshot bundle to your own instance of stackage-server

You can upload snapshots to your own instance of stackage-server using stackage-curator. Here's how:

Start your instance (e.g. run stackage-server Development)

In a browser:

  • Log into your instance
  • Navigate to http://your-stackage-server/profile
  • Take note of both your username and auth token

Edit your config/settings.yaml. Make sure your username is listed as an admin user, e.g.

admin-users:  
- danburton

Restart your stackage-server instance if you changed its config/settings.yaml

In a terminal:

  • Set the STACKAGE_AUTH_TOKEN environment variable to your auth token
  • run stackage-curator upload your-snapshot.bundle --server-url http://your-stackage-server

Sample bundle for trying this out: stackage-nightly-2015-03-26.bundle