Show More
@@ -191,8 +191,8 b' show_revision_number = true' | |||||
191 |
|
191 | |||
192 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
192 | ## gist URL alias, used to create nicer urls for gist. This should be an | |
193 | ## url that does rewrites to _admin/gists/<gistid>. |
|
193 | ## url that does rewrites to _admin/gists/<gistid>. | |
194 |
## example: http://gist. |
|
194 | ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal | |
195 |
## RhodeCode url, ie. http[s]:// |
|
195 | ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid> | |
196 | gist_alias_url = |
|
196 | gist_alias_url = | |
197 |
|
197 | |||
198 | ## white list of API enabled controllers. This allows to add list of |
|
198 | ## white list of API enabled controllers. This allows to add list of |
@@ -84,7 +84,7 b' will be available.' | |||||
84 |
|
84 | |||
85 | To get started quickly simply run:: |
|
85 | To get started quickly simply run:: | |
86 |
|
86 | |||
87 |
rhodecode-api _create_config --apikey=<youapikey> --apihost=< |
|
87 | rhodecode-api _create_config --apikey=<youapikey> --apihost=<your.kallithea.server> | |
88 |
|
88 | |||
89 | This will create a file named .config in the directory you executed it storing |
|
89 | This will create a file named .config in the directory you executed it storing | |
90 | json config file with credentials. You can skip this step and always provide |
|
90 | json config file with credentials. You can skip this step and always provide |
@@ -36,7 +36,7 b' 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= |
|
39 | paster setup-rhodecode 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-rhodecode`` command will create all of the needed tables and an | |
@@ -542,8 +542,8 b' Sample config for nginx using proxy::' | |||||
542 | error_log /var/log/nginx/gist.error.log; |
|
542 | error_log /var/log/nginx/gist.error.log; | |
543 |
|
543 | |||
544 | ssl on; |
|
544 | ssl on; | |
545 |
ssl_certificate gist. |
|
545 | ssl_certificate gist.your.kallithea.server.crt; | |
546 |
ssl_certificate_key gist. |
|
546 | ssl_certificate_key gist.your.kallithea.server.key; | |
547 |
|
547 | |||
548 | ssl_session_timeout 5m; |
|
548 | ssl_session_timeout 5m; | |
549 |
|
549 | |||
@@ -551,19 +551,19 b' Sample config for nginx using proxy::' | |||||
551 | ssl_ciphers DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:EDH-RSA-DES-CBC3-SHA:AES256-SHA:DES-CBC3-SHA:AES128-SHA:RC4-SHA:RC4-MD5; |
|
551 | ssl_ciphers DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:EDH-RSA-DES-CBC3-SHA:AES256-SHA:DES-CBC3-SHA:AES128-SHA:RC4-SHA:RC4-MD5; | |
552 | ssl_prefer_server_ciphers on; |
|
552 | ssl_prefer_server_ciphers on; | |
553 |
|
553 | |||
554 |
rewrite ^/(.+)$ https:// |
|
554 | rewrite ^/(.+)$ https://your.kallithea.server/_admin/gists/$1; | |
555 |
rewrite (.*) https:// |
|
555 | rewrite (.*) https://your.kallithea.server/_admin/gists; | |
556 | } |
|
556 | } | |
557 |
|
557 | |||
558 | server { |
|
558 | server { | |
559 | listen 443; |
|
559 | listen 443; | |
560 |
server_name |
|
560 | server_name your.kallithea.server; | |
561 | access_log /var/log/nginx/rhodecode.access.log; |
|
561 | access_log /var/log/nginx/rhodecode.access.log; | |
562 | error_log /var/log/nginx/rhodecode.error.log; |
|
562 | error_log /var/log/nginx/rhodecode.error.log; | |
563 |
|
563 | |||
564 | ssl on; |
|
564 | ssl on; | |
565 |
ssl_certificate |
|
565 | ssl_certificate your.kallithea.server.crt; | |
566 |
ssl_certificate_key |
|
566 | ssl_certificate_key your.kallithea.server.key; | |
567 |
|
567 | |||
568 | ssl_session_timeout 5m; |
|
568 | ssl_session_timeout 5m; | |
569 |
|
569 |
@@ -191,8 +191,8 b' show_revision_number = true' | |||||
191 |
|
191 | |||
192 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
192 | ## gist URL alias, used to create nicer urls for gist. This should be an | |
193 | ## url that does rewrites to _admin/gists/<gistid>. |
|
193 | ## url that does rewrites to _admin/gists/<gistid>. | |
194 |
## example: http://gist. |
|
194 | ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal | |
195 |
## RhodeCode url, ie. http[s]:// |
|
195 | ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid> | |
196 | gist_alias_url = |
|
196 | gist_alias_url = | |
197 |
|
197 | |||
198 | ## white list of API enabled controllers. This allows to add list of |
|
198 | ## white list of API enabled controllers. This allows to add list of |
@@ -1,10 +1,10 b'' | |||||
1 | [default] |
|
1 | [default] | |
2 |
api_url = http://your. |
|
2 | api_url = http://your.kallithea.server:5000/_admin/api | |
3 | api_user = admin |
|
3 | api_user = admin | |
4 | api_key = XXXXXXXXXXXX |
|
4 | api_key = XXXXXXXXXXXX | |
5 |
|
5 | |||
6 | ldap_uri = ldap://your.ldap.server:389 |
|
6 | ldap_uri = ldap://your.ldap.server:389 | |
7 |
ldap_user = cn= |
|
7 | ldap_user = cn=kallithea,ou=binders,dc=linaro,dc=org | |
8 | ldap_key = XXXXXXXXX |
|
8 | ldap_key = XXXXXXXXX | |
9 | base_dn = dc=linaro,dc=org |
|
9 | base_dn = dc=linaro,dc=org | |
10 |
|
10 |
@@ -35,7 +35,7 b' def argparser(argv):' | |||||
35 | "rhodecode-api [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] " |
|
35 | "rhodecode-api [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] " | |
36 | "[--config=CONFIG] [--save-config] " |
|
36 | "[--config=CONFIG] [--save-config] " | |
37 | "METHOD <key:val> <key2:val> ...\n" |
|
37 | "METHOD <key:val> <key2:val> ...\n" | |
38 |
"Create config file: rhodecode-api --apikey=<key> --apihost=http:// |
|
38 | "Create config file: rhodecode-api --apikey=<key> --apihost=http://your.kallithea.server --save-config" | |
39 | ) |
|
39 | ) | |
40 |
|
40 | |||
41 | parser = argparse.ArgumentParser(description='RhodeCode API cli', |
|
41 | parser = argparse.ArgumentParser(description='RhodeCode API cli', |
@@ -38,7 +38,7 b' def argparser(argv):' | |||||
38 | "rhodecode-gist [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] " |
|
38 | "rhodecode-gist [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] " | |
39 | "[--config=CONFIG] [--save-config] [GIST OPTIONS] " |
|
39 | "[--config=CONFIG] [--save-config] [GIST OPTIONS] " | |
40 | "[filename or stdin use - for terminal stdin ]\n" |
|
40 | "[filename or stdin use - for terminal stdin ]\n" | |
41 |
"Create config file: rhodecode-gist --apikey=<key> --apihost=http:// |
|
41 | "Create config file: rhodecode-gist --apikey=<key> --apihost=http://your.kallithea.server --save-config" | |
42 | ) |
|
42 | ) | |
43 |
|
43 | |||
44 | parser = argparse.ArgumentParser(description='RhodeCode Gist cli', |
|
44 | parser = argparse.ArgumentParser(description='RhodeCode Gist cli', |
@@ -200,8 +200,8 b' show_revision_number = true' | |||||
200 |
|
200 | |||
201 | <%text>## gist URL alias, used to create nicer urls for gist. This should be an</%text> |
|
201 | <%text>## gist URL alias, used to create nicer urls for gist. This should be an</%text> | |
202 | <%text>## url that does rewrites to _admin/gists/<gistid>.</%text> |
|
202 | <%text>## url that does rewrites to _admin/gists/<gistid>.</%text> | |
203 |
<%text>## example: http://gist. |
|
203 | <%text>## example: http://gist.kallithea.server/{gistid}. Empty means use the internal</%text> | |
204 |
<%text>## RhodeCode url, ie. http[s]:// |
|
204 | <%text>## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid></%text> | |
205 | gist_alias_url = |
|
205 | gist_alias_url = | |
206 |
|
206 | |||
207 | <%text>## white list of API enabled controllers. This allows to add list of</%text> |
|
207 | <%text>## white list of API enabled controllers. This allows to add list of</%text> |
@@ -191,8 +191,8 b' show_revision_number = true' | |||||
191 |
|
191 | |||
192 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
192 | ## gist URL alias, used to create nicer urls for gist. This should be an | |
193 | ## url that does rewrites to _admin/gists/<gistid>. |
|
193 | ## url that does rewrites to _admin/gists/<gistid>. | |
194 |
## example: http://gist. |
|
194 | ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal | |
195 |
## RhodeCode url, ie. http[s]:// |
|
195 | ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid> | |
196 | gist_alias_url = |
|
196 | gist_alias_url = | |
197 |
|
197 | |||
198 | ## white list of API enabled controllers. This allows to add list of |
|
198 | ## white list of API enabled controllers. This allows to add list of |
General Comments 0
You need to be logged in to leave comments.
Login now