add slugignore in order to reduce slug size on heroku

parent 067d2cd5
*.md
GNU-AGPL-3.0.txt
LICENSE*
.rubocop*
.gitlab-ci.yml
.travis.yml
.prettier*
.dockerignore
.editorconfig
.eslint*
.pryrc
.overcommit*
.github
.pryrc
.stylelint*
Dockerfile.gitlab_ci
test/*
db/journal_query.sql
*.mdb
*.accdb
*.vbs
/yarn-error.log
yarn-debug.log*
.yarn-integrity
doc/*
/.idea
.vscode/*
wkhtmltopdf
libssl1.0.0
libssl1.1
......@@ -58,6 +58,10 @@ gem 'wicked_pdf'
gem 'will_paginate'
gem 'will-paginate-i18n'
group :production do
gem 'wkhtmltopdf-heroku'
end
group :development do
gem 'debase', require: false
gem 'debride', require: false
......
......@@ -543,6 +543,7 @@ GEM
will-paginate-i18n (0.1.15)
will_paginate (3.3.0)
wkhtmltopdf-binary (0.12.5.4)
wkhtmltopdf-heroku (2.12.6.0)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.4.2)
......@@ -634,6 +635,7 @@ DEPENDENCIES
will-paginate-i18n
will_paginate
wkhtmltopdf-binary
wkhtmltopdf-heroku
RUBY VERSION
ruby 2.6.6p146
......
......@@ -7,11 +7,11 @@
# To learn more, check out the README:
#
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
WickedPdf.config = {
WickedPdf.config ||= {}
WickedPdf.config.merge!({
layout: 'pdf.html',
encoding: 'UTF-8',
page_size: 'A4',
print_media_type: true,
no_background: true
}
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment