Created
April 13, 2016 10:39
-
-
Save akichim21/b066bd8ee7763e718d704200c87e4546 to your computer and use it in GitHub Desktop.
line bot api基本セットアップ
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
gem install rails | |
git init line-bot-api | |
rails new line-bot-api | |
cd line-bot-api | |
bundle install --without production | |
curl https://toolbelt.heroku.com/install.sh | sh | |
echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.bashrc | |
source ~/.bashrc | |
heroku login | |
heroku create | |
heroku addons:create fixie:tricycle | |
heroku config:add LINE_CHANNEL_ID="XXXXXXXXXXXX" | |
heroku config:add LINE_CHANNEL_SECRET="XXXXXXXXXXXX" | |
heroku config:add LINE_CHANNEL_MID="XXXXXXXXXXXX" | |
heroku config:add LINE_OUTBOUND_PROXY="XXXXXXXXXXXX" | |
http://qiita.com/Arahabica/items/98e3d0d5b65269386dc4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment