GithubHelp home page GithubHelp logo

phlummox-dev / docker-hackage-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

docker image for running hackage-server (https://github.com/haskell/hackage-server)

License: The Unlicense

Dockerfile 54.99% Makefile 8.99% Python 36.02%
haskell hackage hackage-server docker

docker-hackage-server's Introduction

phlummox/hackage-server

build status

A Docker image for running an instance of hackage-server for testing purposes. It includes an "admin" user (created with password "admin"), that has been added to the "uploaders" group.

hackage-server is built from the hackage-deployment-2020-05-03 tag of the hackage-server Git repository.

The hackage-server documentation claims that the server can be cleanly stopped using ctrl-c, but (since 2016, and as at December 2021) this doesn't always seem to be the case.

The suggested command-line invocation for running a container is:

docker run --rm -it --net=host phlummox/hackage-server:latest \
    hackage-server run  --static-dir=datafiles --base-uri=http://localhost:8080/

If you get errors about lock-files, try:

docker run --rm -it --net=host phlummox/hackage-server:latest \
    bash -c 'rm -f state/db/*/*/*.lock && rm -f state/db/*/*.lock && hackage-server run --static-dir=datafiles --base-uri=http://localhost:8080/'

docker-hackage-server's People

Contributors

phlummox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.