Skip to content

This is a simple web-based application to browse the contents of a bucket from the GCS upon user authentication.

License

Notifications You must be signed in to change notification settings

GovernoRegionalAcores/gcs-bucket-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Storage Bucket Browser

Description

This is a simple web-based application to browse the contents of a bucket from the GCS upon user authentication.

It was built using the Google PHP cloud client library and jstree.

The storage-metabucket-javascript and storage-getting-started-php projects were used as a starting point.

This build was tested in PHP version 7.1 using the official PHP docker image php:7.1-apache

Prerequisites:

google-cloud-php

$ composer require google/cloud

thephpleague/oauth2-google

$ composer require league/oauth2-google

OAuth 2.0 client

Rename conf.demo.php to conf.php and fill in with your credentials information from OAuth 2.0 client credentials previously created on Google Developers APIs

Running the application using Docker:

Run the following command in the project directory:

$ docker run -d -p 80:80 --name my-apache-php-app -v "$PWD":/var/www/html php:7.1-apache

About

This is a simple web-based application to browse the contents of a bucket from the GCS upon user authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published