Skip to content

Instantly share code, notes, and snippets.

@akichim21
Created April 13, 2016 10:39
Show Gist options
  • Save akichim21/b066bd8ee7763e718d704200c87e4546 to your computer and use it in GitHub Desktop.
Save akichim21/b066bd8ee7763e718d704200c87e4546 to your computer and use it in GitHub Desktop.
line bot api基本セットアップ
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