GithubHelp home page GithubHelp logo

alexxnica / santa-tracker-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/santa-tracker-web

0.0 0.0 0.0 170.32 MB

Ho Ho Ho

Home Page: https://santatracker.google.com

License: Other

HTML 36.61% CSS 14.54% JavaScript 48.73% Smarty 0.09% Shell 0.02% Python 0.02%

santa-tracker-web's Introduction

Google Santa Tracker for Web

This repository contains the code to Google Santa Tracker, an educational and entertaining tradition for the December holiday period. It is a companion to the Android app.

Changes

In the 2015 version of Santa Tracker, some featured changes include-

  • Upgrade to use Polymer 1.0+
  • Revamped Santa's Village including mobile-friendly responsive design
  • Added several new games, including Present Bounce and Code Boogie, written in ES6
  • Streamlined Chromecast support
  • Increased use of emojis

Usage

Prerequisites

You'll need npm, bower (use npm install -g bower if it's missing) and Java available on your system.

Setup

Clone project, then from within the repo:

$ npm install

Build and run

Build and run with gulp serve. This will serve from the root directory and recompile JavaScript or CSS on watched changes. The first build might take some time (~10-20m), as it compiles every scene.

You can load scenes (even while locked) via their ID, e.g. at /#codeboogie. Alternatively, unlock houses (in dev) by calling santaApp.unlockAllHouses().

If you'd like to serve another way, then you can build all development dependencies with gulp.

Serve production build

First, build for prod and set a baseurl for static assets:

gulp dist --baseurl="http://localhost:9000/"

Serve prod:

serve -p 3000 dist_prod/

Separately, serve the static resources:

serve -p 9000 --cors dist_static/

Open http://localhost:3000/.

Release

Use gulp dist --pretty to build. This performs additional steps, such as vulcanizing code and internationalization. Serve from ./dist_pretty.

License

All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav and *.ogg) are licensed under the CC-BY-NC license. All other files are licensed under the Apache 2 license. See the LICENSE file for details.

Copyright 2015 Google Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

santa-tracker-web's People

Contributors

aclabaugh avatar andreasplan8 avatar baering avatar brendankenny avatar broady avatar davidblurton avatar devnook avatar dh-- avatar dkusaba avatar domesticmouse avatar ebidel avatar eirikurn avatar ffdead avatar hjortureh avatar leeee avatar marcobarbosa avatar markmcd avatar minshallj avatar naokigoogle avatar notwaldorf avatar rikard-io avatar rphipps avatar rthor avatar samthor avatar skaree avatar thorsteinsson avatar torstah avatar

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.