Skip to content

This project uses WeasyPrint and Django in a Docker container to produce a PDFs. It offers a consistent and reliable method for PDF generation in Django apps.

License

Notifications You must be signed in to change notification settings

NinjyaMaster/Docker-Django-PDF-Generator-WeasyPrint

Repository files navigation

docker-django-pdf-generator-weasyprint

MIT License LinkedIn


A basic sample of generating PDF files using WeasyPrint/Django in a Docker container:
Explore the docs »

· Report Bug

Table of Contents
  1. About The Project
  2. Getting Started
  3. License
  4. Contact

About The Project

This project demonstrates using WeasyPrint with Django to generate high-quality PDFs, all within a Docker container. By harnessing WeasyPrint's HTML-to-PDF capabilities and Django's dynamic rendering, users can produce customized PDF outputs. Docker encapsulates the dependencies, ensuring consistent results across different environments. The result is a reliable blueprint for seamless PDF generation in Django applications.

(back to top)

Built With

  • Docker
  • Django
  • Python

(back to top)

Getting Started

Before you start with the project setup, there are some prerequisites that you need to ensure are in place.

Prerequisites

Before proceeding with this project, ensure that Docker is installed and running on your machine.

Installation

  1. Clone the repo

    git clone https://github.com/NinjyaMaster/Docker-Django-PDF-Generator-WeasyPrint.git
  2. Run Docker

    docker-compose up
  3. Once Docker has finished starting up the services, open your web browser and navigate to:

    http://localhost:8000/

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Mia Noriko Watanabe - @linkedin

Project Link: https://github.com/NinjyaMaster/docker-nginx-certbot-react

(back to top)

About

This project uses WeasyPrint and Django in a Docker container to produce a PDFs. It offers a consistent and reliable method for PDF generation in Django apps.

Topics

Resources

License

Stars

Watchers

Forks