googlearchive / realtime-playground

Google Drive Realtime API Playground helps you to try out the features of the Realtime API
https://realtimeplayground.appspot.com/
Apache License 2.0
241 stars 114 forks source link

Structure of Application #18

Open jayfield1979 opened 9 years ago

jayfield1979 commented 9 years ago

Hi, I love the Google Realtime API and had no problems getting the Quick Start app working. My next port of call was to try and host the playground app.

I downloaded the repository as a ZIP, unzipped it and uploaded it to my server and have a couple of issues.

First the structure didn't appear to be correct. In the root folder there are no HTML pages. After some digging I found the found the playground.html file in the 'templates' folder. When I navigated there in my browser I saw int eh console that none of the include files could be found.

I copied 'playground.html' to the root folder and tried again. This time everything did appear to load so I then ensured the correct Client and App id's were placed in the 'app-globals' element.

Tried to run it again. This time it authenticated and I could either create a new file or open an existing file from my drive.

I created a new file and checked my Google Drive. Sure enough it was there. I then started editing the template document (just like on the demo you host) and in the text field I got the following error:

Uncaught TypeError: Expected string for text, but was: undefined

The collaborative list and map seemed to work but the text is broken.

Is there something wrong what I did or are the files in the repository a little messed up?

Thanks

jurkov commented 8 years ago

This repo seems to be abandoned. My workaround to get the static website was: wget --recursive --page-requisites --domains realtimeplayground.appspot.com --no-check-certificate https://realtimeplayground.appspot.com