Horje
A plugin for uploading media files to Google Cloud Storage. Wordpress Tutorial

Noted That:

  • To install correctly this gcs.zip .
  • Fisrt Download the gcs.zip to your computer
  • Extract/Open gcs.zip to Your Computer.
  • Then, Find readme.txt file inside gcs.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " gcs.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " gcs.zip "  Downloaded plugin from your computer, Where you downloaded gcs.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Google Cloud Storage plugin " folder is added on left sidemenu. Now, Click on " Google Cloud Storage plugin " folder.

   Noted that: If you do not see " Google Cloud Storage plugin " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Google Cloud Storage plugin Configurtions and Settings or How to work " Google Cloud Storage plugin " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Google Cloud Storage plugin " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Google Cloud Storage plugin
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Download the plugin and place it in your /wp-content/plugins/ directory.

  2. Enable this plugin in the WordPress admin UI,

  3. Configure your Google Cloud Storage bucket in the plugin setting
    UI.

  4. In Google Cloud Console, set the default acl of the bucket so that
    allUsers can read.

Depending on your environment, you may need to configure a Google
Service Account to call the APIs.

To run this plugin on Google App Engine for PHP 7.2 , it will work
without additional configuration.

To run this plugin on Google Compute Engine or App Engine Flexible ,
you will need to do the following:

  • Visit Cloud Console, go to Compute -> instances and select
    the instance where WordPress is running.

  • Stop the instance.

  • Once the instance has stopped, click Edit and you can now
    modify the scopes under Cloud API access scopes . Change
    the Storage scope from Read Only to Full .

If you want to run this plugin outside of Google Cloud Platform, you
need to configure your service account as follows:

  • Visit Cloud Console, go to IAM & Admin -> Service accounts
    and create a service account with Storage Object Admin
    permission and download the json key file.

  • Upload the json key file to the hosting server. Don’t put it
    in a public serving area.

  • Add the following line to wp-config.php (replace the file path
    with the real one).

    putenv('GOOGLE_APPLICATION_CREDENTIALS=/secure-place/my-service-account.json');


uploading , media , files , google , cloud , storage , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference