s3manager-web/README.md
2017-08-26 10:49:41 +02:00

1.4 KiB

S3 Manager

Build Status Go Report Card

A Web GUI written in Go to manage S3 buckets from any provider.

Run locally

  1. Run make
  2. Execute the created binary and visit http://localhost:8080

Run with Docker

  1. Set environment variables in docker-compose.yml
  2. Run docker-compose up
  3. Visit http://localhost:8080

Build with Docker and run anywhere

  1. Run make build-docker

    To cross-compile for windows, add the -e "GOOS=windows" -e "GOARCH=amd64" flags to the Makefile (depending on your system, you might have to adjust GOARCH)

    To cross-compile for macOS, add the -e "GOOS=darwin" -e "GOARCH=amd64" flags to the Makefile (depending on your system, you might have to adjust GOARCH)

Run on Cloud Foundry

  1. Change the service in manifest.yml to represent your S3 service (if you are using an external S3 provider, you'll have to switch the service type in entrypoint-cf.sh from dynstrg to user-provided and create the respective user-provided service with cf create-user-provided-service)
  2. Change host in manifest.yml to something that isn't taken yet
  3. Run make deploy-cf