Skip to content
Browse files

Update scripts to node, remove wiki commit from script, add data/wiki…

… to gitignore
  • Loading branch information...
1 parent 9d09676 commit 4b0be5585f0cf6229f17bfe8e25184dcf6e9bf49 @ltegman ltegman committed
Showing with 20 additions and 27 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 README.md
  3. +1 −1 bin/camperbot-run.sh
  4. +6 −7 bin/debug.sh
  5. +4 −4 bin/pm2-run.sh
  6. +3 −3 bin/run.sh
  7. +4 −5 bin/step-debug.sh
  8. +0 −6 bin/wiki-update.sh
View
1 .gitignore
@@ -6,3 +6,4 @@
node_modules
.DS_Store
Thumbs.db
+data/wiki
View
2 README.md
@@ -74,7 +74,7 @@ Custom functions can easily be added. Check the [System Overview](https://github
## Installation instructions
-To run camperbot, you need [Node.js](https://nodejs.org/).
+To run camperbot, you need [Node.js](https://nodejs.org/) 4.2.0 or greater.
### Mac / Linux
View
2 bin/camperbot-run.sh
@@ -12,4 +12,4 @@ GITTER_APP_KEY=${GITTER_APP_KEY} \
GITTER_APP_SECRET=${GITTER_APP_SECRET} \
LOG_LEVEL=10 \
PORT=7891 \
- nodemon -x iojs app.js
+ nodemon app.js
View
13 bin/debug.sh
@@ -10,12 +10,11 @@ GITTER_APP_KEY=${GITTER_APP_KEY} \
GITTER_APP_SECRET=${GITTER_APP_SECRET} \
LOG_LEVEL=10 \
PORT=7891 \
- node-debug -x iojs app.js
+ node-debug app.js
- # iojs debug app.js
-
- # node-debug --harmony app.js
- # nodemon -x iojs app.js
- # nodemon --harmony app.js
- # node-debug --harmony app.js
+ # node debug app.js
+ # node-debug app.js
+ # nodemon -x node app.js
+ # nodemon app.js
+ # node-debug app.js
View
8 bin/pm2-run.sh
@@ -12,11 +12,11 @@ GITTER_APP_KEY=${GITTER_APP_KEY} \
GITTER_APP_SECRET=${GITTER_APP_SECRET} \
LOG_LEVEL=10 \
PORT=7891 \
- pm2 start --name bot --interpreter iojs app.js
+ pm2 start --name bot --interpreter node app.js
- # iojs app.js
- # node --harmony app.js
- # nodemon -x iojs app.js
+ # node app.js
+ # node app.js
+ # nodemon -x node app.js
pm2 list
pm2 logs all
View
6 bin/run.sh
@@ -13,8 +13,8 @@
#LOG_LEVEL=10 \
#PORT=7891 \
-# nodemon -x --harmony iojs app.js
+# nodemon -x node app.js
- # nodemon --harmony app.js
+ # nodemon app.js
-nodemon --harmony app.js
+nodemon app.js
View
9 bin/step-debug.sh
@@ -10,8 +10,7 @@ GITTER_APP_KEY=${GITTER_APP_KEY} \
GITTER_APP_SECRET=${GITTER_APP_SECRET} \
LOG_LEVEL=10 \
PORT=7891 \
- node-debug --harmony app.js
- # iojs debug app.js
- # nodemon -x iojs app.js
- # nodemon --harmony app.js
-
+ node-debug app.js
+ # node debug app.js
+ # nodemon -x node app.js
+ # nodemon app.js
View
6 bin/wiki-update.sh
@@ -9,9 +9,3 @@ cd ../..
rm data/wiki/*
cp data/fcc.wiki/*md data/wiki
-
-git add data/wiki
-git commit -am "wiki update and merge"
-git fetch
-git push -u
-

0 comments on commit 4b0be55

Please sign in to comment.
Something went wrong with that request. Please try again.