|
|
@@ -0,0 +1,26 @@
|
|
|
+# HUBOT
|
|
|
+
|
|
|
+~~~shell
|
|
|
+sudo npm install -g hubot coffee-script yo generator-hubot
|
|
|
+mkdir dymj_hubot&cd dymj_hubot
|
|
|
+sudo yo hubot
|
|
|
+
|
|
|
+
|
|
|
+chmod g+rwx /root /root/.config /home/wis/.config/configstore
|
|
|
+
|
|
|
+chmod g+rwx /root /root/.config /insight-nodejs
|
|
|
+
|
|
|
+
|
|
|
+chmod g+rwx /admin /home/admin/dymj_hubot/bin
|
|
|
+
|
|
|
+/root/.config/insight-nodejs
|
|
|
+
|
|
|
+chmod g+rwx /root/.config
|
|
|
+
|
|
|
+PORT=55555
|
|
|
+env HUBOT_WORKTILE_TOKEN=92a28cc217df4a7aba2d9c1e9f7837e5
|
|
|
+PORT=55555 ./bin/hubot --adapter worktile
|
|
|
+
|
|
|
+
|
|
|
+~~~
|
|
|
+
|