No description
Find a file
2015-05-15 06:08:17 +03:00
app Beginning of stackage-server-cron 2015-05-14 14:51:29 +03:00
config Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Data Get rid of blob store 2015-05-14 14:33:16 +03:00
design New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
Handler Hoogle database generation 2015-05-14 21:21:42 +03:00
Settings
Stackage More talkative create, do not duplicate schema, vacuum 2015-05-15 06:08:17 +03:00
static Open search description files 2015-04-27 18:11:38 -07:00
templates Snapshot list 2015-05-14 17:02:05 +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 Update Travis for new filename 2015-05-14 17:58:52 +03:00
Application.hs Just need to actually write and run the cron job 2015-05-14 17:35:41 +03:00
cabal.config Updated cabal.config 2015-05-14 14:54:37 +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 Get rid of blob store 2015-05-14 14:33:16 +03:00
fpbuild.config Add fpbuild.config 2015-01-07 16:00:36 +00:00
Import.hs Package pages 2015-05-13 14:08:58 +03:00
LICENSE
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 Create databases in cron jobs 2015-05-14 18:10:26 +03:00
Types.hs Get rid of blob store 2015-05-14 14:33:16 +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