No description
Find a file
2015-05-01 13:12:55 -07:00
app Support for --summary (pinging @DanBurton) 2015-04-01 16:59:58 +03:00
config Added /download/snapshots.json 2015-05-01 11:39:24 +03:00
Data Ghc major version whitelist is now drawn from stackage-content 2015-04-27 10:21:33 -07:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
Handler Added /download/snapshots.json 2015-05-01 11:39:24 +03:00
Settings
static Remove static/setup, files hosted elsewhere 2015-04-24 13:59:38 -07:00
templates Address minor problems with download page #93 2015-04-28 11:53:53 -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
DevelMain.hs
Echo.hs
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
Model.hs Better URLs #37 2014-11-23 14:26:03 +02:00
README.md README now includes a link to sample bundle #85 2015-05-01 13:12:55 -07:00
Settings.hs Google OAuth authentication #40 2014-11-27 14:08:18 +02:00
stackage-server.cabal Reorganize hosting of stackage-setup binary and yaml 2015-04-24 13:43:52 -07:00
Types.hs Reorganize hosting of stackage-setup binary and yaml 2015-04-24 13:43:52 -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 upload2 your-snapshot.bundle --server-url http://your-stackage-server

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