Google Drive environments manager
Gives you ability to pull your projects from git and publish branch, tag or hash to Google Drive server and share.
Inspired by Google Drive pages and Host webpages with Drive
Install
$ sudo npm install -g gdem
Creating a Service Account using the Google Developers Console
Take a look Tutorial
Usage
gdem <command> [<args>]
Commands:
list list of environments
create create environment
update [name] update environment
remove [name] remove environment
publish [name] [cursor] publish based on cursor (branch, tag, hash)
Typical workflow
7:30 gdem master* ❯ gdem create? Name: project? Service account email: 525918832864-j7@developer.gserviceaccount.com? Path to key file: /Users/butuzgol/Playground/gdem/Test-3d9.p12? Git path: git@github.com:DragonLegend/game.git? Build command: sh build.sh? Build directory: distEnv created ✔ 7:31 gdem master* ❯ gdem list project# Publish master branch (instead it can be branch, tag or hash) at the end link 7:32 gdem master* ❯ gdem publish project masterRepo ready ✔Pull...Checkout...Running build command Publishing to Google DriveAuthorized ✔ +573msFolder exists finalFolder exists masterFolder deleted 0B7VauhZc5irtTThqTWdmTE9RZUE ✔ +1639msFolder created master 0B7VauhZc5irtR09oZ1lfc0tCZjg ✔ +796msStart uploading folder …File uploaded index.htmlUploading done ✔ +1613msShared ✔ +825msYour link: https://www.googledrive.com/host/0B7VauhZc5irtR09oZ1lfc0tCZjg
License
MIT © ButuzGOL