Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BenHall committed Jan 9, 2012
1 parent 626b0a4 commit 96c60bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ 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.
Expand All @@ -28,6 +32,7 @@ Within the bin/compile script, it downloads the previously built Mono binaries o
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.

0 comments on commit 96c60bb

Please sign in to comment.