「こまどりおねえちゃんしすてむ(鉄)」はTOJO K-ONのセッティング表を作るシステムだよっ☆
$ git clone https://github.com/tojok-on/bts.git
$ cd bts
$ bundle install --path vendor/bundle
$ bundle exec ruby bts.rbOpen http://localhost:4567/.
もし上記アドレスで開けない場合はbundle exec のメッセージを見て別のポートで開いていないか確認してください.
$ bundle exec ruby bts.rb [23:14:21]
== Sinatra/1.4.5 has taken the stage on 4567 for development with backup from Thin
Thin web server (v1.6.3 codename Protein Powder)
Maximum connections set to 1024
Listening on 0.0.0.0:4567, CTRL+C to stop ← このアドレスdocker pull nownabe/bts:latest
docker run --name="bts" -d -p 80:80 -v /var/pdf:/usr/src/app/public/pdf nownabe/bts- heroku のアカウントを 作ります (https://www.heroku.com)
- heroku toolbelt をインストールします (https://toolbelt.heroku.com/)
- 端末で
heroku loginを実行 cd btsでディレクトリに移動してheroku createを実行git push heroku masterを実行bundle exec heroku openを実行
アドレスを変更したい場合
heroku rename 新しい名前を実行bundle exec heroku open