Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

Structure of Application #18

Open
jayfield1979 opened this issue Jan 18, 2015 · 1 comment
Open

Structure of Application #18

jayfield1979 opened this issue Jan 18, 2015 · 1 comment

Comments

@jayfield1979
Copy link

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
Copy link

jurkov commented Apr 8, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants