Code Monkey home page Code Monkey logo

topeka's Introduction

Topeka

There are 2 ways to get your dependencies up-and-running:

Direct Git:

This is the best way to not be broken. The Polymer team doesn't use bower in day-to-day development and so Topeka might be broken more frequently if you use the Bower-based workflow.

  1. Checkout topeka

  2. Do the following:

     mkdir components
     cd components
     git clone https://github.com/Polymer/tools.git
     cd ..
     ./components/tools/bin/pull-all.sh #get a copy of all of Polymer
    

Bower

  1. Checkout topeka
  2. Make sure you have npm and bower installed installed.
  3. cd topeka and bower install

Deploying the project

  • ./deploy.sh
  • profit!

topeka's People

Contributors

addyosmani avatar dfreedm avatar ebidel avatar frankiefu avatar mik01aj avatar robdodson avatar slightlyoff avatar sorvell avatar wibblymat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

topeka's Issues

Bower Installer Fails

Running "bower -install" on the 0.3.5 version of designer, bower fails with the following error message about Topeka. Wasn't sure to place issue here or in Polymer.

bower ENORESTARGET No tag found that was able to satisfy >=0.3.0 <1.0.0
Additional error details:
No versions found in git://github.com/Polymer/topeka-elements.git

Adding image

I want to add an image to a question. The user has to guess what the image is and has to choose the correct answer. Is this possible?

deploy.sh (vulcanize) causes errors

If I try to use the bower install method I get:
flags.log.split is not a function

The Git method produces a more understandable error for me (webcomponent.js is looking for it's script container in the dom and can't find it) :
Uncaught TypeError: Cannot read property 'getAttribute' of null

Blocked on avatar page on firefox/ubuntu

Environment:
Linux (Ubuntu)
Firefox 32.0

I can't choose an avatar, default is selected, and can't validate. I stay on the avatar page.

I get this error from firebug on page loaded:

Exception caught during observer callback: .locationChanged@https://www.polymer-project.org/apps/topeka/:21:711
properties.invokeMethod@https://www.polymer-project.org/apps/topeka/:17:18768
properties.notifyPropertyChanges@https://www.polymer-project.org/apps/topeka/:17:18661
Observer.prototype.report_@https://www.polymer-project.org/apps/topeka/:15:8607
CompoundObserver.prototype<.check_@https://www.polymer-project.org/apps/topeka/:15:15744
global.Platform.performMicrotaskCheckpoint@https://www.polymer-project.org/apps/topeka/:15:9512
flush/<@https://www.polymer-project.org/apps/topeka/:17:1948
atEndOfMicrotask@https://www.polymer-project.org/apps/topeka/:17:1281
notifyObservers@https://www.polymer-project.org/apps/topeka/:8:14531
handle@https://www.polymer-project.org/apps/topeka/:8:13266

How to run topeka after checking out ?

Hi,
I m a total newbie in web development. Topeka sample app is awesome and I decided to understand how it works but I don't understand how to run it locally. I followed the instruction in the doc

mkdir components
cd components
git clone https://github.com/Polymer/tools.git
cd ..
./components/tools/bin/pull-all.sh #get a copy of all of Polymer

How do I run it locally after all these steps ?

Adding images to quiz

How does one add an image to a corresponding question?
The questions are all written in JSON.
Is there a way of accomplishing that?

Error in Chrome

Hello,
Could you please help me with the following error when clicking in any category?:

Exception caught during observer callback: TypeError: Illegal invocation
    at Array.eval [as getValueFrom] (eval at <anonymous> (http://localhost:8000/components/polymer/polymer.js:12:17357), <anonymous>:2:9)
    at valueFn_ (http://localhost:8000/components/polymer/polymer.js:12:276)
    at http://localhost:8000/components/polymer/polymer.js:12:2210
    at http://localhost:8000/components/polymer/polymer.js:12:2165
    at Object.l.getValue (http://localhost:8000/components/polymer/polymer.js:12:4069)
    at Object.d [as getValueFn_] (http://localhost:8000/components/polymer/polymer.js:12:3758)
    at Object.F.observedCallback_ (http://localhost:8000/components/polymer/polymer.js:12:22859)
    at Object.x.report_ (http://localhost:8000/components/polymer/polymer.js:12:18266)
    at Object.S.check_ (http://localhost:8000/components/polymer/polymer.js:12:22604)
    at c (http://localhost:8000/components/polymer/polymer.js:12:12173)

This is happening in Chrome (Version 43.0.2357.81 (64-bit)) and not in Safari (Version 8.0.6 (10600.6.3))

How to load directly random quizz instead of splash screen

Hi All,

I have tried to mess with the code to directly show random questions to user instead of splash screen but i was unsuccessful. Can any body help me out to understand which variables to have dummy variables to that it can directly land to random quiz.

Refresh Service Worker implementation

The old SW implementation in Topeka was broken last I checked and the currently checked in polyfills are outdated. Since we've now got SW in M40, we should update Topeka to use the current version of the spec.

@wibblymat indicated he might be interested in taking this on. I think this is a useful exercise independent of updating Topeka to Polymer 0.8, which we can do separately once it's further along.

Will Topeka be rewritten in 1.0?

I've recently begun studying Polymer 0.5, but now that 1.0 is released (yay!) and lots have changed, it would really help to see how code will change through its implementation in Topeka.

Firefox Error

Link: http://www.polymer-project.org/apps/topeka/
Version: 31
Platform: Linux
The app gets stuck on loading screen with the following error in console.log
Warnings:
"platform.js is not the first script on the page. See http://www.polymer-project.org/docs/start/platform.html#setup for details." topeka:2
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create topeka:6
Errors:
TypeError: c is null topeka:2
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. topeka
TypeError: c is null topeka:2

Checkouting and running topeka

Hi, I'd like to download the code and run it locally. In README.md you write about tools-private/pull-all.sh and the components folder, and I can find neither of them in this repo.

Why is that? Maybe I should checkout the project into some pre-organized structure?

How to use Wordpress login system instead of the app login system

Can anyone please help me linking my wordpress site login page to the profile page of the app and on the main screen when site opens and when a user register using wordpress system his name appear on the top bar . Please help because when i used the app and sign in with my password and username which i typed before the site does'nt open my account but created a new account with that name and my points were deleted.

Thanks in advance

Bower installation fails

The installation fails because one of the package depends on paper-sampler and it is not existing.

issue

Dependencies

Hello,
When trying to do a "bower install", I got the following dependencies problem:

Unable to find a suitable version for webcomponentsjs, please choose one:
    1) webcomponentsjs#^0.5 which resolved to 0.5.5 and is required by paper-spinner#0.5.6
    2) webcomponentsjs#* which resolved to 0.5.5 and is required by core-component-page#0.5.6
    3) webcomponentsjs#^0.6.0 which resolved to 0.6.3 and is required by polymer#0.5.6

Prefix the choice with ! to persist it to bower.json

Could you please advice on this?

Unable to get past login screen

Seeing this issue as soon as the app boots:

Exception caught during observer callback: TypeError: undefined is not a function
    at firebase-login.Polymer.locationChanged (http://localhost:3000/components/firebase-element/firebase-login.html:164:18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.