https://github.com/ncrashed/pdf-slave-server
Web server for pdf-slave tool, post your templates and get rendered PDFs
https://github.com/ncrashed/pdf-slave-server
Last synced: 11 months ago
JSON representation
Web server for pdf-slave tool, post your templates and get rendered PDFs
- Host: GitHub
- URL: https://github.com/ncrashed/pdf-slave-server
- Owner: NCrashed
- License: bsd-3-clause
- Created: 2016-12-21T15:03:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-06T21:02:49.000Z (almost 9 years ago)
- Last Synced: 2025-06-10T04:07:10.566Z (12 months ago)
- Language: Haskell
- Size: 62.5 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/jordansissel/fpm) installed. The simple way to install it is:
``` bash
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
```