Switch to unified view

a/start-sandbox.bash b/start-sandbox.bash
1
#!/bin/bash
1
#!/bin/bash
2
./setup-common.bash
2
3
3
# Start RabbitMQ
4
# Start RabbitMQ
4
sudo rabbitmq-server &
5
# sudo rabbitmq-server & # already started for us
5
rabbitmqctl add_user testuser testpw
6
rabbitmqctl add_user testuser testpw
6
rabbitmqctl add_vhost testvhost
7
rabbitmqctl add_vhost testvhost
7
rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
8
rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
8
9
9
10
...
...
12
java -jar start.jar &
13
java -jar start.jar &
13
popd
14
popd
14
15
15
16
16
# Start mongo, already on the path
17
# Start mongo, already on the path
17
mongod &
18
# mongod & # already started for us
18
19
19
20
20
# Start the forge
21
# Start the forge
21
. sandbox-env/bin/activate
22
. sandbox-env/bin/activate
22
cd pyforge
23
cd pyforge