Document heroku build
This commit is contained in:
@@ -34,10 +34,15 @@ createdb -O dbapi_test -U postgres dbapi_test
|
|||||||
cabal test --show-details=always --test-options="--color"
|
cabal test --show-details=always --test-options="--color"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Accessing server on localhost
|
### Distributing Heroku build
|
||||||
|
|
||||||
Dbapi permits only secure https access. By default it uses a
|
```sh
|
||||||
self-signed key which will cause Chrome and other rest clients to
|
heroku create --stack=cedar --buildpack https://github.com/begriffs/heroku-buildpack-ghc.git
|
||||||
complain. You will need to configure your system to trust this key.
|
git push heroku master
|
||||||
On mac follow [these
|
|
||||||
instructions](http://www.robpeck.com/2010/10/google-chrome-mac-os-x-and-self-signed-ssl-certificates/).
|
heroku config:set S3_ACCESS_KEY=abc
|
||||||
|
heroku config:set S3_SECRET_KEY=123
|
||||||
|
heroku config:set S3_BUCKET=s3://foo/bar
|
||||||
|
|
||||||
|
heroku run scripts/release_s3.sh
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user