An open API service indexing awesome lists of open source software.

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

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
```