2017 © Pedro Peláez
 

library kunstmaan-static-site-s3-backend

S3 Backend for Kunstmaan Static Site Bundle

image

nassau/kunstmaan-static-site-s3-backend

S3 Backend for Kunstmaan Static Site Bundle

  • Wednesday, December 14, 2016
  • by mlebkowski
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

S3 Backend for Kunstmaan Static Site Bundle

Installation

composer require nassau/kunstmaan-static-site-s3-backend, (*1)

Configuration

# app/config.yml

kunstmaan_static_site_s3_backend:
    access_key: AWS_ACCESS_KEY
    access_secret: AWS_ACCESS_SECRET
    buckets:
        default: 
            bucket_name: foobar-bucket
            target_path: /
            acl: public-read
        other_bucket:
            access_key: CUSTOM_AWS_ACCESS_KEY
            access_secret: CUSTOM_AWS_ACCESS_SECRET
            bucket_name: other-bucket
            target_path: /docs

Usage

You can now export your static site directly to a S3 bucket using s3: scheme, (*2)

app/console nassau:static-site:dump s3:

The "default" bucket values will be used, but you can override them if you want., (*3)

app/console nassau:static-site:dump s3://key:secret@bucket-name-or-config-name/custom-target-path

The Versions

14/12 2016

dev-master

9999999-dev

S3 Backend for Kunstmaan Static Site Bundle

  Sources   Download

MIT

The Requires

 

14/12 2016

0.1

0.1.0.0

S3 Backend for Kunstmaan Static Site Bundle

  Sources   Download

MIT

The Requires