• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


コミットメタ情報

リビジョン2a8097dfff60a586bb626867e5d80f4a9b5d1ade (tree)
日時2012-03-30 21:23:47
作者Dave Brondsema <dbrondsema@geek...>
コミッターYaroslav Luzin

ログメッセージ

[#3874] move rabbitmq out of installation instructions

Signed-off-by: Dave Brondsema <dbrondsema@geek.net>

変更サマリ

差分

--- a/Allura/docs/index.rst
+++ b/Allura/docs/index.rst
@@ -17,6 +17,7 @@ Getting Started
1717 .. toctree::
1818 :maxdepth: 2
1919
20+ installation
2021 platform_tour
2122 scm_host
2223 migration
--- /dev/null
+++ b/Allura/docs/installation.rst
@@ -0,0 +1,29 @@
1+Installation
2+=================
3+
4+Easy Setup
5+---------------
6+
7+Our easy setup instructions are in our README.rst file. You can read it online at https://sourceforge.net/p/allura/git/#readme
8+
9+You should be able to get Allura up and running in well under an hour by following those instructions.
10+
11+Enabling RabbitMQ
12+-----------------
13+
14+For faster notification of background jobs, you can use RabbitMQ. Assuming a base setup from the README, run these commands
15+to install rabbitmq and set it up::
16+
17+(anvil)~$ sudo aptitude install rabbitmq-server
18+(anvil)~$ sudo rabbitmqctl add_user testuser testpw
19+(anvil)~$ sudo rabbitmqctl add_vhost testvhost
20+(anvil)~$ sudo rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
21+(anvil)~$ pip install amqplib==0.6.1 kombu==1.0.4
22+
23+Then edit Allura/development.ini and change `amqp.enabled = false` to `amqp.enabled = true` and uncomment the other `amqp` settings.
24+
25+If your `paster taskd` process is still running, restart it::
26+
27+(anvil)~/src/forge/Allura$ pkill -f taskd
28+(anvil)~/src/forge/Allura$ nohup paster taskd development.ini > ~/logs/taskd.log &
29+
--- a/README.markdown
+++ b/README.markdown
@@ -26,9 +26,9 @@ You'll also need additional development packages in order to compile some of the
2626 ~$ sudo aptitude install default-jdk python-dev libssl-dev libldap2-dev libsasl2-dev libjpeg8-dev zlib1g-dev
2727 ~$ sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
2828
29-And finally our document-oriented database, MongoDB, and our messaging server, RabbitMQ. Note that RabbitMQ is optional, but will make messages flow faster through our asynchronous processors. By default, rabbitmq is disabled in development.ini.
29+And finally our document-oriented database, MongoDB
3030
31- ~$ sudo aptitude install mongodb-server rabbitmq-server
31+ ~$ sudo aptitude install mongodb-server
3232
3333 ## Setting up a virtual python environment
3434
@@ -59,8 +59,6 @@ Although the application setup.py files define a number of dependencies, the `re
5959 (anvil)~/src/forge$ easy_install pip
6060 (anvil)~/src/forge$ pip install -r requirements-dev.txt
6161
62-If you want to use RabbitMQ for faster message processing (optional), also pip install 'amqplib' and 'kombu'.
63-
6462 And now to setup each of the Forge applications for development. Because there are quite a few (at last count 15), we'll use a simple shell loop to set them up.
6563
6664 for APP in Allura* Forge* NoWarnings
@@ -97,15 +95,6 @@ We have a custom config ready for use.
9795 (anvil)~/src/apache-solr-1.4.1/example/$ nohup java -Dsolr.solr.home=$(cd;pwd)/src/forge/solr_config -jar start.jar > ~/logs/solr.log &
9896
9997
100-### RabbitMQ message queue (optional)
101-
102-We'll need to setup some development users and privileges.
103-
104- (anvil)~$ sudo rabbitmqctl add_user testuser testpw
105- (anvil)~$ sudo rabbitmqctl add_vhost testvhost
106- (anvil)~$ sudo rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
107-
108-
10998 ### Forge task processing
11099
111100 Responds to asynchronous task requests.
@@ -145,6 +134,7 @@ register a new project in your own forge, visit /p/add_project
145134 ## Extra
146135
147136 * Read more documentation: http://allura.sourceforge.net/
137+ * Including how to enable extra features: http://allura.sourceforge.net/installation.html
148138 * Run the test suite (slow): `$ ALLURA_VALIDATION=none ./run_tests`
149139 * File bug reports at <https://sourceforge.net/p/allura/tickets/new/> (login required)
150140 * Contribute code according to this guide: <http://sourceforge.net/p/allura/wiki/Contributing%20Code/>