Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 852 Bytes

INSTALL.md

File metadata and controls

40 lines (28 loc) · 852 Bytes

Install instructions

PDF generation and manipulation requirements

Install Browsershot

Install necessary php extensions

these extensions are necessary for the proper functioning of the application :

  • Imagick
  • Gd
  • Zip
  • Bcmath
  • Mbstring

Generate a private key

Generate the private key without a passphrase:

openssl genpkey -algorithm RSA -out storage/keys/private_key.pem
Generate the corresponding public key:
openssl rsa -pubout -in storage/keys/private_key.pem -out storage/keys/public_key.pem

Secure the file permissions:

chmod 600 storage/keys/private_key.pem
chmod 644 storage/keys/public_key.pem

Update the .env file Add the paths of the generated keys to your .env file:

PRIVATE_KEY_PATH=storage/keys/private_key.pem
PUBLIC_KEY_PATH=storage/keys/public_key.pem
SALT=your_random_salt