kaapiii/concrete5_storage_locations 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kaapiii/concrete5_storage_locations

Composer 安装命令:

composer require kaapiii/concrete5_storage_locations

包简介

Concrete5 package adds new file storage locations on AWS S3 and Google Cloud Storage

README 文档

README

Installation

  1. Add the following line to line to the 'require' section of the concrete5 composer.json.

    "kaapiii/concrete5_storage_locations": "^1.0"
    

    and run ...

    composer install
    

    or run the following command from the installation {root} folder

    composer require kaapiii/concrete5_storage_locations
    
  2. Install the package

  3. Navigate to System & Settings -> File Storage Locations and add a new storage location.

Cloud Storage preparations

Google Cloud Storage

Make the following steps either in the web console or copy and paste the commands below to your cloud shell.

Create a bucket

Go to your project on gcp and create a public bucket with enabled ACL.

gsutil mb -p [PROJECT_NAME] -c [STORAGE_CLASS] -l [BUCKET_LOCATION] on gs://[BUCKET_NAME]/

Example:

gsutil mb -p my-gcp-project -c regional -l europe-west3 -b on gs://my-public-c5-bucket

Make the bucket public

Make all objects in a bucket publicly readable.

gsutil iam ch allUsers:objectViewer gs://[BUCKET_NAME]

Create a service account

Create a service account through the web console with the following minimal IAM role:

(Role title / [role key])

  • Storage Object Admin / [roles/storage.objectAdmin]

Create a key in the json format and download the key file.

统计信息

  • 总下载量: 323
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固