Giter Site home page Giter Site logo

callmephilip / soundcloud-javascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soundcloud/soundcloud-javascript

0.0 1.0 0.0 440 KB

Official SoundCloud Javascript SDK

Home Page: http://developers.soundcloud.com/

License: MIT License

JavaScript 7.39% CoffeeScript 92.61%

soundcloud-javascript's Introduction

SoundCloud JavaScript SDk

Introduction

The SoundCloud JavaScript SDK lets you easily integrate SoundCloud into your website or web app. It's full documentation can be found here. In most case it's highly recommended that you use the hosted version from http://connect.soundcloud.com/sdk.js in your website. This README provides development related informations.

Dependencies

  • npm
    • coffee-script
    • uglify-js
    • jslint

Usage

To checkout the repository locally and to initialize all submodules in vendor run:

$ git clone [email protected]:soundcloud/soundcloud-javascript.git
$ cd soundcloud-javascript
$ git submodule update --init
$ npm install

To build the release version in build/ just run:

$ make build

To run the tests or use the sdk.js you can run bin/server in either ./ or in ./build. The sdk.js in ./ will automatically compile all the coffeescripts in ./src on the fly when loaded. To make the sdk.js fully work it needs to be accessed via http://connect.soundcloud.dev instead of http://localhost:9090

Testing

To run the tests just start an HTTP server (for example "$ ponyhost server") in the project root and navigate to http://yourhost/test/test.html. In development mode the tests will automatically compile the coffeescript on each reload. In build mode the tests will laod the compiled sdk.js.

Repository Structure

  • build/ will provide the compiled CoffeeScript as it's hosted on http://connect.soundcloud.com
  • src/ the coffee script source code
  • vendor/ includes git submodules of external projects
  • test/ tests
  • examples/ examples

Deployment

This app is now deployed with the new bazooka, please follow the instructions to update your setup:

One time setup

get remote rm bazooka
bash <(curl panzerfaust.int.s-cloud.net/install) # unless you already have panzerfaust
panzerfaust check        # follow instructions
panzerfaust remote

Deployment

panzerfaust deploy

Problems

mailto:[email protected] / skype:kesselborn / irc:kesselborn

soundcloud-javascript's People

Contributors

jwagener avatar callmephilip avatar paulosman avatar

Watchers

 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.