GithubHelp home page GithubHelp logo

ninjyamaster / docker-django-pdf-generator-weasyprint Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 552 KB

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: MIT License

Dockerfile 8.22% Python 75.88% HTML 15.91%
django pdf weasyprint

docker-django-pdf-generator-weasyprint's Introduction

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)

docker-django-pdf-generator-weasyprint's People

Contributors

ninjyamaster avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.