Nyanstagram for iOSアプリ用のダッシュボードです。 Dashing フレームワークで構築しています。
- Heroku Toolbelt (https://toolbelt.heroku.com/)
- Ruby 2.0.0
- Google Analyticsのアカウント
- Nendのアカウント
Google Analytics, Nend情報取得用環境変数を.env
に設定してください。
$ cp .sample.env .env
$ vi .env
# Google Analytics
[email protected]
GA_PASSWORD=enter-your-passward
GA_UA_CODE=UA-********-1
# Nend
[email protected]
NEND_PASSWORD=enter-your-passward
Google Analytics
$ heroku config:add \
[email protected] \
GA_PASSWORD=enter-your-passward \
GA_UA_CODE=UA-********-1
Nend
$ heroku config:add \
[email protected] \
NEND_PASSWORD=enter-your-passward
foreman
を利用して起動します。
$ foreman start
http://localhost:3030にアクセスするとダッシュボードが表示されます。
$ git push heroku master