A "dev_appserver" in the cloud: an experimental IDE
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pg Github API master_branch -> default_branch Jun 12, 2014
app whitespace Apr 10, 2015
bootstrap @ d9b502d bootstrap 2.3.2 May 20, 2013
codemirror @ 36e4c89 codemirror (v3.12) May 8, 2013
config Update karma config files. Nov 21, 2013
fonts Added some fonts. Aug 29, 2013
lib Incorporate local copy of flask and werkzeug libraries to improve Mar 23, 2014
mimic @ eed5e28 latest mimic Apr 10, 2015
repos
scripts
test better analytics Dec 7, 2013
.gitignore ignore .DS_Store Jan 9, 2015
.gitmodules
CONTRIB.md
LICENSE initial import Sep 16, 2012
README.md Mark project as no longer being maintained Jan 10, 2017
angular-ui.yaml serve only the submodule files we need Jun 24, 2013
angularjs.yaml angularjs 1.2.0rc1 Aug 14, 2013
app.yaml specific app.yaml 3rd party library versions May 3, 2014
appengine_config.py Incorporate local copy of flask and werkzeug libraries to improve Mar 23, 2014
backends.yaml PLAYGROUND_USER_CONTENT_HOST = None Aug 8, 2013
bootstrap.yaml serve only the submodule files we need Jun 24, 2013
cloud-playground.sublime-project Remove absolute path in cloud-playground.sublime-project Mar 16, 2015
codemirror.yaml serve only the submodule files we need Jun 24, 2013
fixit.yaml move playground modues into __pg package for isolation Oct 29, 2013
iframed.yaml iframed.html need not been secure: always Nov 24, 2013
index.yaml add Greeting index as required by Mar 17, 2013
intercept.yaml Light up /ziprepo for cloud-playground. Mar 20, 2014
internal.yaml move playground modues into __pg package for isolation Oct 29, 2013
playground.yaml make cookie check reliable in firefox Nov 25, 2013
queue.yaml separate fixit and expiration task queues Sep 9, 2013
tasks.yaml move playground modues into __pg package for isolation Oct 29, 2013
try-go-demo.yaml Module for Go demo. Mar 24, 2014
try-java-demo.yaml Try Java module config. (Deployment not scripted yet.) Mar 24, 2014
try-php-demo.yaml Add PHP demo module. Mar 24, 2014
ui-bootstrap.yaml serve only the submodule files we need Jun 24, 2013

README.md

Project status

status: inactive

This project is no longer actively maintained, and remains here as an archive of this work.

Introduction

Cloud Playground is a place for developers to experiment and play with some of the services offered by the Google Cloud Platform (http://cloud.google.com/), such as Google App Engine, Google Cloud Storage and Google Cloud SQL. Think of the playground as an easy way to get to know these services, or just quickly try out a new API, without having to download the SDK or having to run appcfg.py update every time you want to test your changes.

About this project

This project contains the source code for the Cloud Playground, so you can see how the playground works, develop your own tools and experiments, or just create your own private playground using an App Engine app id you created.

Try it out!

You can try out the Cloud Playground here:

https://cloud-playground.appspot.com/

https://cloud-playground.googlecode.com/files/cloud-playground-editor.png

Using the source

There are two important projects which together create the Cloud Playground:

  1. mimic is a regular (or "special", depending on how you look at things) Python App Engine app, which serves as a development server (similar to the App Engine SDK "dev_appserver"), but which runs in the production App Engine environment, providing you access to the production APIs and environment while still offering a quick and easy way to test out bits of code.

  2. bliss (this project) is an experimental, trivial browser based code editor which lets edit code in the mimic virtual file system (backed by the App Engine datastore), providing you with a user interface so you can see what the mimic app can do for you.

Creating a private cloud playground

  1. Create an App Engine app id where you will run your own private Cloud Playground

  2. Create a git clone of bliss and its submodules:

```bash
git clone --recursive https://github.com/GoogleCloudPlatform/cloud-playground
cd cloud-playground
```
  1. Modify the the various handlers: sections in the various *.yaml files (app.yaml, playground.yaml etc.) to require admin login (login: admin) and https (secure: always)

  2. Optionally, try running the cloud playground on http://localhost:8080/

```bash
scripts/run.sh
```
  1. Deploy the modified app to the app id you just created
```bash
scripts/deploy.sh --application your-app-id
```
  1. Verify that all the URL handlers are indeed correctly locked down

  2. Have fun!

Other fun places to play

License(s)

Note, the Cloud Playground includes libraries that are licensed under terms other than Apache 2.0.