Mercurial > kallithea
comparison docs/setup.rst @ 2105:926f55b038bc beta
added initial rc-extension module
- possible to store additional mappings for stats
- possible to overwrite and add to whoosh index extensions
issue #322
- post create repo hook callback
- post push/pull hooks callback
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 06 Mar 2012 23:03:10 +0200 |
parents | 17c9393e9645 |
children | dc2584ba5fbc e285aa097a81 |
comparison
equal
deleted
inserted
replaced
2104:f21f66abb4f7 | 2105:926f55b038bc |
---|---|
18 port, email settings, usage of static files, cache, celery settings and | 18 port, email settings, usage of static files, cache, celery settings and |
19 logging. | 19 logging. |
20 | 20 |
21 | 21 |
22 Next, you need to create the databases used by RhodeCode. I recommend that you | 22 Next, you need to create the databases used by RhodeCode. I recommend that you |
23 use sqlite (default) or postgresql. If you choose a database other than the | 23 use postgresql or sqlite (default). If you choose a database other than the |
24 default ensure you properly adjust the db url in your production.ini | 24 default ensure you properly adjust the db url in your production.ini |
25 configuration file to use this other database. Create the databases by running | 25 configuration file to use this other database. RhodeCode currently supports |
26 postgresql, sqlite and mysql databases. Create the database by running | |
26 the following command:: | 27 the following command:: |
27 | 28 |
28 paster setup-app production.ini | 29 paster setup-app production.ini |
29 | 30 |
30 This will prompt you for a "root" path. This "root" path is the location where | 31 This will prompt you for a "root" path. This "root" path is the location where |
55 - The default permissions on each repository is read, and the owner is admin. | 56 - The default permissions on each repository is read, and the owner is admin. |
56 Remember to update these if needed. | 57 Remember to update these if needed. |
57 - In the admin panel you can toggle ldap, anonymous, permissions settings. As | 58 - In the admin panel you can toggle ldap, anonymous, permissions settings. As |
58 well as edit more advanced options on users and repositories | 59 well as edit more advanced options on users and repositories |
59 | 60 |
60 Try copying your own mercurial repository into the "root" directory you are | 61 Optionally users can create `rcextensions` package that extends RhodeCode |
61 using, then from within the RhodeCode web application choose Admin > | 62 functionality. To do this simply execute:: |
62 repositories. Then choose Add New Repository. Add the repository you copied | 63 |
63 into the root. Test that you can browse your repository from within RhodeCode | 64 paster make-rcext production.ini |
64 and then try cloning your repository from RhodeCode with:: | 65 |
65 | 66 This will create `rcextensions` package in the same place that your `ini` file |
66 hg clone http://127.0.0.1:5000/<repository name> | 67 lives. With `rcextensions` it's possible to add additional mapping for whoosh, |
67 | 68 stats and add additional code into the push/pull/create repo hooks. For example |
68 where *repository name* is replaced by the name of your repository. | 69 for sending signals to build-bots such as jenkins. |
70 Please see the `__init__.py` file inside `rcextensions` package | |
71 for more details. | |
72 | |
69 | 73 |
70 Using RhodeCode with SSH | 74 Using RhodeCode with SSH |
71 ------------------------ | 75 ------------------------ |
72 | 76 |
73 RhodeCode currently only hosts repositories using http and https. (The addition | 77 RhodeCode currently only hosts repositories using http and https. (The addition |