Commit d097f3fa authored by Terence Lee's avatar Terence Lee

static.json is now required

parent 8909bbe5
......@@ -10,7 +10,7 @@ For a guide, read the [Getting Started with Single Page Apps on Heroku](https://
* custom [configuration](#configuration)
## Deploying
The directory structure expected is that you have a `public_html/` directory containing all your static assets.
The `static.json` file is required to use this buildpack. This file handles all the configuration described below.
1. Set the app to this buildpack: `$ heroku buildpacks:set https://github.com/hone/heroku-buildpack-static.git`.
2. Deploy: `$ git push heroku master`
......
......@@ -3,7 +3,7 @@
build_dir=$1
if [ ! -f "$build_dir/static.json" ] && [ ! -d "$build_dir/public_html" ]; then
if [ ! -f "$build_dir/static.json" ]; then
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment