GithubHelp home page GithubHelp logo

opportunitylivetv / airhorn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlechromelabs/airhorn

1.0 3.0 1.0 2.18 MB

Air horn

Home Page: https://airhorner.com/

License: Other

HTML 11.30% JavaScript 71.86% CSS 16.83%

airhorn's Introduction

Air Horn

A sample web app that lets you use your site as an airhorn.

It demonstrates simple offline usage combined with simple audio looping via web audio.

Installing

Whilst you don't need to use the build process, if you want to host this publicly it is recommended that you optimise all the assets for deployment and as such it is recommended that you run the following command in the current working directory:

npm install

Building

If you want to run this app locally, you don't have to build the app, the build process is just there to optimize everything for deployment.

There is a build process that will optimize the images, styles and JS ready for deployment. To run this simple execute the following command from the root directory:

gulp

Running

There are number of ways to run Airhorner. The simplest (if you have Python installed) is to start a simple web server up is to use Python's SimpleHTTPServer. Run the following:

cd app && python -m SimpleHTTPServer 3000

This will just load the existing contents of the directory up and it won't support things like live reload and inline optimizations. To run the project with optimizations in place and to support live reload run the following command:

gulp serve

License

Copyright 2015 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.

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.