|
a/RUNNING |
|
b/RUNNING |
1 |
# Did you run setup-common.bash?
|
1 |
# Did you run setup-common.bash?
|
2 |
# Did you activate sandbox-env?
|
2 |
# Did you activate sandbox-env?
|
3 |
|
|
|
4 |
|
3 |
|
5 |
|
4 |
|
6 |
#
|
5 |
#
|
7 |
# Starting MongoDB
|
6 |
# Starting MongoDB
|
8 |
#
|
7 |
#
|
9 |
# from the directory containing mongod
|
8 |
# from the directory containing mongod
|
10 |
|
9 |
|
11 |
mongod
|
10 |
mongod
|
12 |
|
|
|
13 |
|
11 |
|
14 |
|
12 |
|
15 |
#
|
13 |
#
|
16 |
# Starting RabbitMQ
|
14 |
# Starting RabbitMQ
|
17 |
#
|
15 |
#
|
|
... |
|
... |
27 |
#
|
25 |
#
|
28 |
|
26 |
|
29 |
./rabbitmqctl stop
|
27 |
./rabbitmqctl stop
|
30 |
|
28 |
|
31 |
|
29 |
|
32 |
|
|
|
33 |
#
|
|
|
34 |
# Starting Celery
|
|
|
35 |
#
|
|
|
36 |
# from forge/pyforge, where celeryconfig.py lives
|
|
|
37 |
|
|
|
38 |
celeryinit
|
|
|
39 |
celeryd --detach
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
#
|
|
|
44 |
# Starting Lamson
|
|
|
45 |
#
|
|
|
46 |
# from forge/mail
|
|
|
47 |
|
|
|
48 |
mkdir run logs
|
|
|
49 |
lamson start
|
|
|
50 |
lamson status
|
|
|
51 |
lamson log
|
|
|
52 |
|
|
|
53 |
#
|
|
|
54 |
# Stopping Lamson
|
|
|
55 |
#
|
|
|
56 |
|
|
|
57 |
lamson stop -ALL run
|
|
|
58 |
rm -rf run/*
|
|
|
59 |
|
|
|
60 |
#
|
30 |
#
|
61 |
# Starting SOLR
|
31 |
# Starting SOLR
|
62 |
#
|
32 |
#
|
63 |
|
33 |
|
64 |
cd install/apache-solr-1.4.0/example
|
34 |
cd install/apache-solr-1.4.0/example
|
65 |
java -jar start.jar
|
35 |
java -jar start.jar
|
66 |
|
36 |
|
|
|
37 |
|
|
|
38 |
#
|
|
|
39 |
# Setting up and starting the reactor process
|
|
|
40 |
#
|
|
|
41 |
# from pyforge, where development.ini lives
|
|
|
42 |
|
|
|
43 |
cd pyforge
|
|
|
44 |
paster reactor_setup development.ini
|
|
|
45 |
paster reactor development.ini
|
|
|
46 |
|
67 |
#
|
47 |
#
|
68 |
# Starting the forge
|
48 |
# Starting the forge
|
69 |
#
|
49 |
#
|
70 |
# from forge, where development.ini lives
|
50 |
# from pyforge, where development.ini lives
|
71 |
|
51 |
|
72 |
paster serve development.ini
|
52 |
paster serve development.ini
|
73 |
|
53 |
|
74 |
# or if running on a sandbox
|
54 |
# or if running on a sandbox
|
75 |
|
55 |
|