Giter Club home page Giter Club logo

heroku-buildpack-mono's Introduction

Heroku buildpack: Mono

Building Mono 2.10.8 via Vulcan

  1. Download mono tarball and extract into buildpack-mono/mono-2.10.8

    http://www.mono-project.com/Compiling_Mono_From_Tarball

  2. Tar archive source

    cd mono-2.10.8 && tar czvf mono-src.tgz .

  3. Build Mono via Vulcan. One approach is to provide the archive, this is useful while debugging failed builds.

    vulcan build -s mono-src.tgz -p /tmp/mono210 -c "./autogen.sh --with-moonlight=no --enable-nls=no --prefix=/tmp/mono210 && ./configure --with-moonlight=no --enable-nls=no --prefix=/tmp/mono210 && make && make install" Alternatively, package and upload in one step.

    vulcan build -s ./mono-2.10.8 -p /tmp/mono210 -c "./autogen.sh --with-moonlight=no --enable-nls=no --prefix=/tmp/mono210 && ./configure --with-moonlight=no --enable-nls=no --prefix=/tmp/mono210 && make && make install"

  4. This will throw a 503 error, however the build is added to the database. As such, need to rebuild with the correct ID.

  5. Issue rebuild command for the previously uploaded build. At this point you should see the output stream of the build process.

Once the build has been completed successfully it will be downloaded and saved onto your local machine.

Upload built Mono binaries to S3

Within the bin/compile script, it downloads the previously built Mono binaries onto the Heroku dyno. As such, the binaries need to be uploaded onto S3.

Using BuildPack

In order to take advantage of Mono and Heroku, you need to specify the buildpack when you create your application.

$ heroku create --stack cedar --buildpack http://github.com/BenHall/heroku-buildpack-mono

When you push your source code, the buildpack will be downloaded and execute - that's when the magic happens.

heroku-buildpack-mono's People

Contributors

benhall avatar bmavity 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.