WebDJアプリpolkaが楽しそうだったので、herokuにデプロイしてみました。
と言ってもherokuで動作するように行った事は
Procfilleの追加とpackage.jsonへの追記のみです。
インストールは以下のgistをご覧ください。
デプロイにherokuコマンドを使用しますので、別途準備してください。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone https://github.com/masainox/polka.git -b 0.0.1-for-heroku | |
cd polka | |
heroku create --stack cedar | |
# deploy to heroku | |
git push heroku 0.0.1-for-heroku:master | |
# open app | |
heroku open |
デプロイしたデモサイトはこちら
http://polka-for-heroku-sample.herokuapp.com/です。
視聴者はhttp://polka-for-heroku-sample.herokuapp.com/playにアクセスして聞くことができます。
queueの作成はhttp://polka-for-heroku-sample.herokuapp.com/queueから行えます。