Web installer for Chevereto Free and paid editions
Switch branches/tags
Nothing to show
Clone or download
Latest commit c438920 Sep 26, 2018
Permalink
Failed to load latest commit information.
README.md Update README.md Sep 26, 2018
index.php Changed some paragraphs Sep 19, 2018

README.md

Installer

About this repo

This installs Chevereto (free or paid) in seconds by using your server to download and extract all the files needed.

How to use it

  1. Download the index.php file
  2. Upload this file to your target destination (usually the public_html folder)
  3. Open your website target destination URL and follow the install process

API

You can access all functions programmatically direcly from your application. This API returns in JSON format.

All API request must specify the action and edition parameters. Available actions are download and extract. Available editions are free and paid. The API accepts both POST (recommended) and GET requests.

Download

/?action=download&edition=free // Chevereto Free
/?action=download&edition=paid&license=<license_key> // Chevereto (paid)

Downloads the target edition package in the installer directory. The license key parameter is only required for the paid edition.

Response (success)

{  
   "status":{  
      "code":200,
      "description":"OK"
   },
   "response":{  
      "code":200,
      "message":"Downloaded chevereto-pkg-bbf9ab00.zip (4.4 MB @6.27MB\/s.)"
   },
   "request":{  
      "action":"download",
      "edition":"free"
   },
   "data":{  
      "download":{  
         "fileBasename":"chevereto-pkg-bbf9ab00.zip"
      }
   }
}

Extract

/?action=extract&edition=<edition>&fileBasename=<download_basename>

Extracts the previously downloaded package and removes the package file. <download_basename> is the basename of the previously downloaded file (the one returned by action=download). This basename should be something like chevereto-pkg-hUi9eyNc.zip, please note that this file name is randomly generated.

Response (success)

{  
   "status":{  
      "code":200,
      "description":"OK"
   },
   "response":{  
      "code":200,
      "message":"Extraction completeted (414 files in 0.19s)"
   },
   "request":{  
      "action":"extract",
      "edition":"free",
      "fileBasename":"chevereto-pkg-bbf9ab00.zip"
   }
}