@hackage pdf-slave-server0.1.2.0

Web service for pdf-slave tool

pdf-slave-server

Web server for pdf-slave that renders posted templates.

Building

stack setup
stack build

Debug deploy

pdf-slave-server --conf config.yaml

Note: default login/password is admin/123456

Production deploy

The repo has scripts to cook deb packages for Ubuntu 16. Simply run makedeb.sh, you need fpm installed. The simple way to install it is:

dnf install ruby-devel gcc make rpm-build libffi-devel  # Fedora (yep, i'm biased)
# apt-get install ruby ruby-dev rubygems build-essential # Ubuntu
gem install --no-ri --no-rdoc fpm