0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Hello hubot

Last updated at Posted at 2015-11-14

hubot(https://hubot.github.com/)をインストールした時のメモ。

準備

ref: http://qiita.com/sinmetal/items/154e81823f386279b33c

node アンインストール

node が既にインストール済みだったので、アンインストール

$ curl -o uninstall-node.sh https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
$ chmod u+x uninstall-node.sh 
$ ./uninstall-node.sh 
$ rm uninstall-node.sh 
$ sudo rm -rf /usr/local/include/node
$ sudo rm -rf /usr/local/lib/dtrace/

nodebrew インストール

nodebrew をインストール

$ curl -L git.io/nodebrew | perl - setup
...
========================================
Export a path to nodebrew:

export PATH=$HOME/.nodebrew/current/bin:$PATH
========================================

node インストール

$ nodebrew install-binary v4.2.2
$ nodebrew use v4.2.2

hubot インストール

ref: https://hubot.github.com/docs/

$ npm install -g yo generator-hubot

SlackBot 作成

$ cd workspace
$ mkdir myhubot
$ cd myhubot
$ yo hubot
? Owner marty.marron@gmail.com
? Bot name SlackBot
? Description A simple helpful robot for your Company
? Bot adapter (campfire) slackgot back false
? Bot adapter slack
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?