Open jayfield1979 opened 9 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
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