Skip to content

duanearnett/harp-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Harp Buildpack

This is a buildpack for deploying static sites to Heroku. It's powered by Harp, a Node.js server that automatically converts Jade, Markdown, EJS, CoffeeScript, Sass, LESS and Stylus to HTML, CSS & JavaScript. You don't have to use preprocessors though: this buildpack works with with regular old HTML, CSS, and JavaScript files too.

Usage

mkdir my-harp-app
cd my-harp-app
echo "hello world" > index.html
git init
git add .
git commit -am "hello world"
heroku create my-harp-app
heroku config:set BUILDPACK_URL=https://github.com/zeke/harp-buildpack
git push heroku master
heroku open

Custom Root Directory

If your directory structure doesn't play nicely with harp's defaults, you can configure the path from which the harp server is started:

heroku config:set HARP_ROOT=./doc -a my-harp-app

Demo

Check out the sample app at harp-sample.herokuapp.com and its source at github.com/zeke/harp-sample.

License

MIT

About

A Heroku buildpack for static sites, powered by Node.js and Harp

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%