|
a/README.markdown |
|
b/README.markdown |
|
... |
|
... |
117 |
(anvil)~$ sudo rabbitmqctl add_user testuser testpw
|
117 |
(anvil)~$ sudo rabbitmqctl add_user testuser testpw
|
118 |
(anvil)~$ sudo rabbitmqctl add_vhost testvhost
|
118 |
(anvil)~$ sudo rabbitmqctl add_vhost testvhost
|
119 |
(anvil)~$ sudo rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
|
119 |
(anvil)~$ sudo rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
|
120 |
|
120 |
|
121 |
|
121 |
|
122 |
### Forge "reactor" processing
|
122 |
### Forge task processing
|
123 |
|
123 |
|
124 |
Responds to RabbitMQ messages. We'll need to perform some setup operations before we can start it.
|
124 |
Responds to asynchronous task requests.
|
125 |
|
125 |
|
126 |
(anvil)~$ cd ~/src/forge/Allura
|
126 |
(anvil)~$ cd ~/src/forge/Allura
|
127 |
(anvil)~/src/forge/Allura$ paster reactor_setup development.ini
|
|
|
128 |
(anvil)~/src/forge/Allura$ nohup paster reactor development.ini > ~/logs/reactor.log &
|
127 |
(anvil)~/src/forge/Allura$ nohup paster taskd development.ini > ~/logs/taskd.log &
|
129 |
|
128 |
|
130 |
|
129 |
|
131 |
### Forge SMTP for inbound mail
|
130 |
### Forge SMTP for inbound mail
|
132 |
|
131 |
|
133 |
Routes messages from email addresses to tools in the forge.
|
132 |
Routes messages from email addresses to tools in the forge.
|
|
... |
|
... |
139 |
|
138 |
|
140 |
In order to initialize the Forge database, you'll need to run the following:
|
139 |
In order to initialize the Forge database, you'll need to run the following:
|
141 |
|
140 |
|
142 |
(anvil)~/src/forge/Allura$ paster setup-app development.ini
|
141 |
(anvil)~/src/forge/Allura$ paster setup-app development.ini
|
143 |
|
142 |
|
144 |
This shouldn't take too long, but it will start the reactor server doing tons of stuff in the background. It should complete in 5-6 minutes. Once this is done, you can start the application server.
|
143 |
This shouldn't take too long, but it will start the taskd server doing tons of stuff in the background. It should complete in 5-6 minutes. Once this is done, you can start the application server.
|
145 |
|
144 |
|
146 |
(anvil)~/src/forge/Allura$ nohup paster serve --reload development.ini > ~/logs/tg.log &
|
145 |
(anvil)~/src/forge/Allura$ nohup paster serve --reload development.ini > ~/logs/tg.log &
|
147 |
|
146 |
|
148 |
And now you should be able to visit the server running on your [local machine](http://localhost:8080/).
|
147 |
And now you should be able to visit the server running on your [local machine](http://localhost:8080/).
|
149 |
You can log in with username test-admin, test-user or root. They all have password "foo".
|
148 |
You can log in with username test-admin, test-user or root. They all have password "foo".
|