Skip to content

Commit

Permalink
Update readme and install md
Browse files Browse the repository at this point in the history
  • Loading branch information
tale-fau committed Jul 30, 2024
1 parent b713db3 commit 3f372ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ DEBUG=1 make test
- **Caveat** Handwriting-style font: https://github.com/googlefonts/caveat (OFL-1.1)
- **PDF-LIB** JavaScript library for PDF manipulation used for writing metadata: https://pdf-lib.js.org/ (MIT)
- **Ghostscript** GPL Ghostscript is a software suite for processing PostScript and PDF file formats (GPLv3)
- **GPG** GnuPG allows you to encrypt and sign your data and communications (GPLv3)

For testing:

Expand Down
9 changes: 6 additions & 3 deletions installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
Dependencies:

- php >= 5.6
- rsvg-convert
- librsvg2-bin (rsvg-convert)
- pdftk
- imagemagick
- potrace
- ghostcript
- gpg

Installing dependencies:
```
sudo apt-get install php librsvg2-bin pdftk imagemagick potrace ghostscript locales
sudo apt-get install php librsvg2-bin pdftk imagemagick potrace ghostscript locales gpg
```

Getting the source code:
Expand Down Expand Up @@ -97,6 +98,7 @@ The following variables can be used to configure the deployment:
| `DISABLE_ORGANIZATION` | Disable the Organize route | true | false |
| `PDF_DEMO_LINK` | Show, hide, or change the demo PDF link | false, `link` or `relative path` | true |
| `DEFAULT_LANGUAGE` | Default language for the application | en_US.UTF-8 | fr_FR.UTF-8 |
| `PDF_STORAGE_ENCRYPTION` | Activate PDF storage encryption option (default activation if GPG is installed) | false | true |

```bash
docker run -d --name=signaturepdf -p 8080:80 -e SERVERNAME=pdf.example.org -e UPLOAD_MAX_FILESIZE=48M -e POST_MAX_SIZE=48M -e MAX_FILE_UPLOADS=401 -e PDF_STORAGE_PATH=/data signaturepdf
Expand All @@ -116,6 +118,7 @@ The main components are:
- potrace
- librsvg
- ghostscript
- gpg

What the script does:

Expand All @@ -131,7 +134,7 @@ What the script does:
domain='sign.example.com'
apk update
apk add bash nginx git php8 php8-fpm php8-session php8-gd php8-fileinfo openjdk8 imagemagick potrace librsvg
apk add bash nginx git php8 php8-fpm php8-session php8-gd php8-fileinfo openjdk8 imagemagick potrace librsvg locales gpg ghostcript
cd /tmp
wget https://gitlab.com/pdftk-java/pdftk/-/jobs/924565145/artifacts/raw/build/libs/pdftk-all.jar
Expand Down

0 comments on commit 3f372ad

Please sign in to comment.