No description
Find a file
2015-05-11 20:42:19 +03:00
app Support for --summary (pinging @DanBurton) 2015-04-01 16:59:58 +03:00
config Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Data Initial Stackge.Database 2015-05-11 20:23:09 +03:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
Handler Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Settings Cabal file loader development flag 2014-06-16 11:07:03 +02:00
Stackage Fix parsing error 2015-05-11 20:42:19 +03:00
static Open search description files 2015-04-27 18:11:38 -07:00
templates Delete a whole bunch of stuff, nothing works 2015-05-11 17:46:07 +03: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 Initial Stackge.Database 2015-05-11 20:23:09 +03:00
cabal.config Add back a cabal.config file 2015-05-11 10:19:53 +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 Initial Stackge.Database 2015-05-11 20:23:09 +03:00
fpbuild.config Add fpbuild.config 2015-01-07 16:00:36 +00:00
Import.hs Delete a whole bunch of stuff, nothing works 2015-05-11 17:46:07 +03:00
LICENSE Initial commit 2014-04-09 00:37:17 -07:00
Model.hs Initial Stackge.Database 2015-05-11 20:23:09 +03: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 Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Types.hs Initial Stackge.Database 2015-05-11 20:23:09 +03: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