Parent: [baab6b] (diff)

Child: [b04f16] (diff)

Download this file

start-sandbox.bash    29 lines (19 with data), 482 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Start RabbitMQ
sudo rabbitmq-server &
rabbitmqctl add_user test test
rabbitmqctl add_vhost test
rabbitmqctl set_permissions -p test test "" ".*" ".*"
# Start SOLR, as per SOG-sandbox location
pushd /usr/local/solr
java -jar start.jar &
popd
# Start mongo, already on the path
mongod &
# Start the forge
. sandbox-env/bin/activate
cd pyforge
paster reactor_setup sandbox.ini
paster reactor sandbox.ini &
paster setup-app sandbox.ini
paster serve sandbox.ini &