We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/render_results
/render_results?type=pdf
発表用媒体(PDF, etc)を返すエンドポイントを作成 #183 を完成させる
alpine上でwkhtmltopdfがcss対応しないらしいという情報を確認し、解決策を見つける
alpine
wkhtmltopdf
css
pdfkitをimport
pdfkit
wkhtmltopdfを直接叩くでも良い
キャッシュの仕方について調べる
pythonからpdfを作成する方法を調べる
pythonからファイルを検索する方法を調べる
flaskでPDFを返す方法を調べる(PDFの場合)
spec作成
spec
cacheのpathを決める
cache
エンドポイントを編集
The text was updated successfully, but these errors were encountered:
参考になりそうなURLs: wkhtmltopdf on apline: https://gist.github.com/akihiromukae/288b163d538d45a197b3f1b54ef385e8 generate PDF from python: https://nsmr.tk/pythonpdf.html
wkhtmltopdf on apline
generate PDF from python
Sorry, something went wrong.
A0サイズををCSSで表現するとき 仕様では841mmですが、それだとはみ出たので 825mmにします
おっと フォントサイズ変えるとこっちのサイズ(「825mm」)も変わってしまうみたいです まあ本来A0ぴったりに印刷とかCSSの出番では本来ないですし多少はしょうがないですかね
No branches or pull requests
Step 1: 目的
/render_results
は、都合上HTMLで返す仕様になっています。Step 2: 概要
/render_results?type=pdf
等でpdfで結果を返すようにする。タスク:
発表用媒体(PDF, etc)を返すエンドポイントを作成 #183 を完成させる
alpine
上でwkhtmltopdf
がcss
対応しないらしいという情報を確認し、解決策を見つけるpdfkit
をimportwkhtmltopdf
を直接叩くでも良いキャッシュの仕方について調べる
pythonからpdfを作成する方法を調べる
pythonからファイルを検索する方法を調べる
flaskでPDFを返す方法を調べる(PDFの場合)
spec
作成cache
のpathを決めるエンドポイントを編集
The text was updated successfully, but these errors were encountered: