comparison docs/setup.rst @ 4185:aaa7c3331186 kallithea-2.2.5-rebrand

Rename paster command setup-rhodecode to setup-db
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:04:00 -0400
parents 05cabd91f7c3
children 7e5f8c12a3fc
comparison
equal deleted inserted replaced
4184:48ad84558fb4 4185:aaa7c3331186
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. RhodeCode currently supports 25 configuration file to use this other database. RhodeCode currently supports
26 postgresql, sqlite and mysql databases. Create the database by running 26 postgresql, sqlite and mysql databases. Create the database by running
27 the following command:: 27 the following command::
28 28
29 paster setup-rhodecode production.ini 29 paster setup-db production.ini
30 30
31 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
32 RhodeCode will store all of its repositories on the current machine. After 32 RhodeCode will store all of its repositories on the current machine. After
33 entering this "root" path ``setup-rhodecode`` will also prompt you for a username 33 entering this "root" path ``setup-db`` will also prompt you for a username
34 and password for the initial admin account which ``setup-rhodecode`` sets 34 and password for the initial admin account which ``setup-db`` sets
35 up for you. 35 up for you.
36 36
37 setup process can be fully automated, example for lazy:: 37 setup process can be fully automated, example for lazy::
38 38
39 paster setup-rhodecode production.ini --user=nn --password=secret --email=nn@your.kallithea.server --repos=/home/nn/my_repos 39 paster setup-db production.ini --user=nn --password=secret --email=nn@your.kallithea.server --repos=/home/nn/my_repos
40 40
41 41
42 - The ``setup-rhodecode`` command will create all of the needed tables and an 42 - The ``setup-db`` command will create all of the needed tables and an
43 admin account. When choosing a root path you can either use a new empty 43 admin account. When choosing a root path you can either use a new empty
44 location, or a location which already contains existing repositories. If you 44 location, or a location which already contains existing repositories. If you
45 choose a location which contains existing repositories RhodeCode will simply 45 choose a location which contains existing repositories RhodeCode will simply
46 add all of the repositories at the chosen location to it's database. 46 add all of the repositories at the chosen location to it's database.
47 (Note: make sure you specify the correct path to the root). 47 (Note: make sure you specify the correct path to the root).
55 paster serve production.ini 55 paster serve production.ini
56 56
57 - This command runs the RhodeCode server. The web app should be available at the 57 - This command runs the RhodeCode server. The web app should be available at the
58 127.0.0.1:5000. This ip and port is configurable via the production.ini 58 127.0.0.1:5000. This ip and port is configurable via the production.ini
59 file created in previous step 59 file created in previous step
60 - Use the admin account you created above when running ``setup-rhodecode`` 60 - Use the admin account you created above when running ``setup-db``
61 to login to the web app. 61 to login to the web app.
62 - The default permissions on each repository is read, and the owner is admin. 62 - The default permissions on each repository is read, and the owner is admin.
63 Remember to update these if needed. 63 Remember to update these if needed.
64 - In the admin panel you can toggle ldap, anonymous, permissions settings. As 64 - In the admin panel you can toggle ldap, anonymous, permissions settings. As
65 well as edit more advanced options on users and repositories 65 well as edit more advanced options on users and repositories