Switch to unified view

a/RUNNING b/RUNNING
1
# Did you run setup-common.bash?
1
Now documented in pyforge/docs.
2
# Did you activate sandbox-env?
3
2
4
3
If you're just getting started, open pyforge/docs/install.rst (plus pyforge/docs/mac_install.rst if you use a Mac) in your text editor to learn how to setup the python virtual environment.
5
#
4
If you have a virtual environment setup, activate the virtual environment and do:
6
# Starting MongoDB
5
      easy_install sphinx
7
#
6
      cd forge/pyforge/docs
8
# from the directory containing mongod
7
      make html
9
8
      now you can view the docs in your browser; install instructions at forge/pyforge/docs/_build/html/install.html
10
mongod
11
12
13
#
14
# Starting RabbitMQ
15
#
16
# from the directory containing rabbitmqctl
17
18
sudo ./rabbitmq-server
19
./rabbitmqctl add_user testuser testpw
20
./rabbitmqctl add_vhost testvhost
21
./rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
22
23
#
24
# Stopping RabbitMQ
25
#
26
27
./rabbitmqctl stop
28
29
30
#
31
# Starting SOLR
32
#
33
34
cd install/apache-solr-1.4.0/example
35
java -jar start.jar
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
47
#
48
# Starting the forge
49
#
50
# from pyforge, where development.ini lives
51
52
paster serve development.ini
53
54
# or if running on a sandbox
55
56
paster serve sandbox.ini
57