diff --git a/README.rst b/README.rst index 7f683f8..1c9ab67 100644 --- a/README.rst +++ b/README.rst @@ -15,22 +15,25 @@ Official support for: See also, `full list `_. + +Deployment +---------- + +:: + + $ git clone git@github.com:kennethreitz/python-versions.git + $ heroku create + $ git push heroku master + $ heroku config:set AWS_ACCESS_KEY_ID=xxxx AWS_SECRET_ACCESS_KEY=xxxx S3_BUCKET=xxx + + Usage ----- Once deployed, building a forumla is simple:: - $ heroku run - "./build.sh -f $1 -p ./python -x $1.tar.bz2 -r envy-versions" - -Configuration -------------- - -Fairly self explanatory: - -- ``AWS_ACCESS_KEY_ID`` -- ``AWS_SECRET_ACCESS_KEY`` - + $ heroku run ./brew + # Builds specified Python and uploads the resulting tarball to the given S3 bucket. Distribution "Spec" ------------------- diff --git a/brew b/brew new file mode 100755 index 0000000..e84e0d2 --- /dev/null +++ b/brew @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Usage: $ brew + +./build.sh -f $1 -p ./python -x $1.tar.bz2 -r $2 \ No newline at end of file