Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/craigkerstiens/heroku-buildpack-static
https://github.com/craigkerstiens/heroku-buildpack-static
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/craigkerstiens/heroku-buildpack-static
- Owner: craigkerstiens
- Created: 2011-11-28T03:26:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-08T22:19:58.000Z (about 13 years ago)
- Last Synced: 2024-10-11T09:15:16.425Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 127 KB
- Stars: 32
- Watchers: 3
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Heroku buildpack: Static
========================This is a [Heroku buildpack](http://devcenter.heroku.com/articles/buildpack) for static apps.
It uses Apache to statically serve your content. It also supports securely serving your static content.
To securely serve your content you need to set two variables:heroku config:add USERNAME=usernamehere
heroku config:add PASSWORD=passwordhereUsage
-----Example usage:
$ cat 'hello world' > index.html
$ heroku create --stack cedar --buildpack [email protected]:craigkerstiens/heroku-buildpack-static.git
$ git push heroku master
...The buildpack will detect your app as Static if it has the file `index.html` in the root.