Search Google

Thursday 14 August 2014

Google Drive Offers Web Hosting

Google Drive through Google Scripts without you having to write a single line of code. Here are the steps involved:
  1. Create your HTML website and put your HTML, JS, CSS, Images and everything else in a .zip file. Make sure there’s an index.html file in your archive. If you too lazy to create one, download this zip file.
  2. Go here, authorize the app and upload your website zip file.
The app will upload the file to your Google Drive, uncompress the archive and generate a URL for your website, just like the original Google Drive. That’s it.
Internally, the app creates a folder inside your Google Drive, changes the sharing permissions to public (anyone can view, you can edit) and then generates the URL using the ID of the new folder.

No comments:

Post a Comment