GithubHelp home page GithubHelp logo

jdrew1303 / heroku-buildpack-libreoffice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rishihahs/heroku-buildpack-libreoffice

0.0 2.0 0.0 15 KB

Heroku buildpack for LibreOffice

License: MIT License

Shell 100.00%

heroku-buildpack-libreoffice's Introduction

Heroku Buildpack: LibreOffice

Heroku buildpack for LibreOffice that can be used by unoconv, docsplit, etc.

Usage

LibreOffice depends on Java, so the Java buildpack is needed. Hence, we have to create a multipack app.

heroku create --buildpack https://github.com/ddollar/heroku-buildpack-multi.git

Next, add the Java buildpack, and this one to .buildpacks:

echo "https://github.com/heroku/heroku-buildpack-java.git
https://github.com/rishihahs/heroku-buildpack-libreoffice.git" > .buildpacks

Heroku's Java buildpack requires a pom.xml, so if you don't have one, create a dummy:

echo '<project><modelVersion>4.0.0</modelVersion><groupId>com.dummy</groupId><artifactId>dummy</artifactId><version>1.0-SNAPSHOT</version><packaging>pom</packaging></project>' > pom.xml

Finally:

git push heroku master

Build

Binaries used in the buildpack are prebuilt and hosted on SourceForge for convenience, but you can build them yourself like so:

heroku create --buildpack https://github.com/heroku/heroku-buildpack-java.git

Make sure you create a dummy pom.xml (as shown above in Usage), and after pushing:

heroku run bash
./build/libreoffice.sh

The binaries will be in $temp_dir/release.

License

Licensed under the MIT License. See LICENSE file.

heroku-buildpack-libreoffice's People

Contributors

rishihahs avatar nathansamson avatar christophertfoo avatar nrempel avatar

Watchers

James Cloos avatar James Drew 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.