From f06ca88e8610e60c525be609b0835b525dfe039f Mon Sep 17 00:00:00 2001 From: Lena Fuhrimann <6780471+cloudlena@users.noreply.github.com> Date: Thu, 30 Mar 2017 22:56:25 +0200 Subject: [PATCH] Add hostname to manifest --- README.md | 8 +++++++- manifest.yml | 3 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07291b9..2019bcd 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,11 @@ A Web GUI to written in Go to manage S3 buckets from any provider. ## Run locally 1. Set all environment variables -1. Run `go build .` +1. Run `go build` 1. Run the binary and visit + +## Push to Cloud Foundry + +1. Set environment variables in `manifest.yml` +1. Set hostname in `manifest.yml` that isn't taken yet +1. Run `cf push` diff --git a/manifest.yml b/manifest.yml index bbb07be..0cbeaa7 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,11 +1,10 @@ --- applications: - name: s3-manager + host: s3-manager memory: 64M buildpack: https://github.com/cloudfoundry/go-buildpack.git env: S3_ACCESS_KEY_ID: "XXX" S3_SECRET_ACCESS_KEY: "xxx" - S3_ENDPOINT: "ds31s3.swisscom.com" - V2_SIGNING: true