Permalink
Browse files

init

  • Loading branch information...
1 parent 1bec8b0 commit e69af8338ed4bf9daf167fdbe500cc8c3b6b920e @zdwalter committed Mar 3, 2012
Showing with 10 additions and 0 deletions.
  1. +7 −0 db.start.sh
  2. +3 −0 start.sh
View
@@ -0,0 +1,7 @@
+#!/bin/bash
+make
+mkdir -p /data/db/redis
+echo "dbfilename /data/db/redis/ianalytics.rdb" > /data/db/redis/redis.conf
+redis-server /data/db/redis/redis.conf > /dev/null &
+mkdir -p /data/db/mongodb
+mongod --dbpath /data/db/mongodb > /dev/null &
View
@@ -0,0 +1,3 @@
+#!/bin/bash
+make
+NODE_PATH=./lib:../db/lib:../log/lib:../task/lib:../auth/lib:../agent/lib:../visitor/lib forever start lib/app.js --port 80

0 comments on commit e69af83

Please sign in to comment.