Skip to content
Browse files

Shipping it...

  • Loading branch information...
1 parent 64710af commit 3ca341ff46d1f7788924b56d04cb22e957ceee08 @jeapostrophe committed Jan 14, 2011
Showing with 14 additions and 6 deletions.
  1. +0 −4 fac.rkt
  2. +1 −1 go.rkt
  3. +7 −0 go.sh
  4. 0 init.sh
  5. +1 −1 run.sh
  6. +3 −0 set-iptables.sh
  7. +2 −0 sync.sh
View
4 fac.rkt
@@ -1,9 +1,5 @@
#lang racket
(require "model.rkt"
- racket/date
- racket/runtime-path
- (prefix-in 19: srfi/19)
- (planet neil/csv)
(planet jaymccarthy/mongodb))
(call-with-model
View
2 go.rkt
@@ -1025,7 +1025,7 @@
#:port 9000
#:listen-ip #f
#:quit? #f
- #:launch-browser? #t
+ #:launch-browser? #f
#:servlet-regexp #rx""
#:servlet-path "/"
#:ssl-cert server-cert
View
7 go.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+db=$1
+here=$(pwd)
+
+cd ~/local/m8b
+bash run.sh ${here}/${db} &
+exec ../racket/bin/racket -t go.rkt
View
0 init.sh 100644 → 100755
File mode changed.
View
2 run.sh
@@ -1,4 +1,4 @@
#!/bin/bash
db=$1
mkdir -p ${db}
-exec mongod --dbpath ${db} --noauth --rest
+exec mongod --dbpath ${db} --noauth --rest
View
3 set-iptables.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+iptables -t nat -A PREROUTING -i eth0 -p tcp --dport https -j REDIRECT --to-ports 9000
View
2 sync.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+rsync -av --progress . grad-admissions:local/m8b/ --exclude 'admissions*' --exclude '*pem' --exclude '*key' --exclude 'db' --exclude 'compiled'

0 comments on commit 3ca341f

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