Giter Site home page Giter Site logo

pdfplum's Introduction

PDFPlum

PDFPlum is a set of Firebase extensions to generate PDF files from a template bundle using HTML/CSS and Handlebars, triggered by different sources. Check out some examples of the generated PDFs here.

Installation

Use one of these links based on your source of data to install the latest version of PDFPlum in your Firebase project.

Usage

Documentation:

It is also all described in the installation page.

Contribution

Deploying

Run this command to deploy the current source code to the Firebase projects specified in .firebaserc.

npm run deploy

Updating CHANGELOG.md

Write a summary of changes in the CHANGELOG.md file in the root directory of this repository. Versions containing <!--subject:firestore-pdf-generator--> in front of them will be included in the CHANGELOG.md file of the firestore-pdf-generator plugin and the ones containing <!--subject:http-pdf-generator--> will be included in the CHANGELOG.md file of the http-pdf-generator plugin. A version can have both tags.

Note that CHANGELOG.md files inside plugin folders is auto-generated and any modifications on these files will be lost.

Commititng

Before creating a commit, please run these commands and make sure they all pass without any errors:

PDF_PLUM_UPDATE_SKIP_SAMPLES=1 npm run update
npm run lint
npm run test

These commands will update documentations, update CHANGELOG.md files, sync versions based on CHANGELOG.md, etc.

If sample PDF files are expected to be changed, you neeed to run the project in Firebase emulator and run these commands instead:

npm run update
npm run lint
npm run test

This way the sample PDF files will be regenerated.

Publishing

Run this command to publish:

PUBLISHER_ID=<your-publisher-id> npm run publish

Make sure you have already pushed the commit that is identical to the going-to-be-published version, Firebase publishes from the GitHub repository, not your local copy.

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.