public
Description: This is a simple example of how to provide an HTTP api to Scalaris via Mochiweb
Homepage: http://weblog.miceda.org
Clone URL: git://github.com/davebryson/mochiweb_scalaris.git
mochiweb_scalaris / start-dev.sh
100755 11 lines (8 sloc) 0.277 kb
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
cd `dirname $0`
 
## Set to the Scalaris Boot Node
export BOOT_NODE="boot@localhost"
 
## Fire it up...
exec erl -setcookie "chocolate chip cookie" \
    -pa $PWD/ebin $PWD/deps/*/ebin -boot start_sasl \
    -s reloader -s simple_messaging_scalaris -sname scalaris_web