Switch to unified view

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