|
a/pyforge/docs/install.rst |
|
b/pyforge/docs/install.rst |
|
... |
|
... |
140 |
(anvil)~/src$ cd forge/pyforge
|
140 |
(anvil)~/src$ cd forge/pyforge
|
141 |
(anvil)~/src/forge/pyforge$ paster reactor_setup development.ini
|
141 |
(anvil)~/src/forge/pyforge$ paster reactor_setup development.ini
|
142 |
(anvil)~/src/forge/pyforge$ paster reactor development.ini
|
142 |
(anvil)~/src/forge/pyforge$ paster reactor development.ini
|
143 |
|
143 |
|
144 |
Forge SMTP server
|
144 |
Forge SMTP server
|
145 |
This server routes messages from email addresses to plugins in the forge::
|
145 |
This server routes messages from email addresses to tools in the forge::
|
146 |
|
146 |
|
147 |
(anvil)~/src/forge/pyforge$ paster smtp_server development.ini
|
147 |
(anvil)~/src/forge/pyforge$ paster smtp_server development.ini
|
148 |
|
148 |
|
149 |
SOLR server
|
149 |
SOLR server
|
150 |
This is our search and indexing server. We have a custom config in
|
150 |
This is our search and indexing server. We have a custom config in
|
|
... |
|
... |
171 |
|
171 |
|
172 |
Logging In, Getting Around
|
172 |
Logging In, Getting Around
|
173 |
----------------------------------------------
|
173 |
----------------------------------------------
|
174 |
|
174 |
|
175 |
Part of the base system includes the test_admin and test_user accounts. The
|
175 |
Part of the base system includes the test_admin and test_user accounts. The
|
176 |
password for both accounts is `foo`. The `test` project has several plugins
|
176 |
password for both accounts is `foo`. The `test` project has several tools
|
177 |
already configured; to configure more, you can visit the `Admin` plugin
|
177 |
already configured; to configure more, you can visit the `Admin` tool
|
178 |
(accessible in the top navigation bar when inside the `test` project).
|
178 |
(accessible in the top navigation bar when inside the `test` project).
|
179 |
|
179 |
|
180 |
Running the Tests
|
180 |
Running the Tests
|
181 |
---------------------------------
|
181 |
---------------------------------
|
182 |
|
182 |
|
|
... |
|
... |
202 |
SOLR server
|
202 |
SOLR server
|
203 |
We are using the multicore version of SOLR already, so all the changes to use
|
203 |
We are using the multicore version of SOLR already, so all the changes to use
|
204 |
core1 (the testing core) rather than core0 (the dev core) are encapsulated in
|
204 |
core1 (the testing core) rather than core0 (the dev core) are encapsulated in
|
205 |
test.ini.
|
205 |
test.ini.
|
206 |
|
206 |
|
207 |
To actually run the tests, just go to the plugin directory you wish to test (or
|
207 |
To actually run the tests, just go to the tool directory you wish to test (or
|
208 |
to the pyforge directory) and type::
|
208 |
to the pyforge directory) and type::
|
209 |
|
209 |
|
210 |
(anvil)~/src/forge/pyforge$ nosetests
|
210 |
(anvil)~/src/forge/pyforge$ nosetests
|
211 |
|
211 |
|
212 |
Some options you might find useful for nosetests:
|
212 |
Some options you might find useful for nosetests:
|