##// END OF EJS Templates
Change example URL
Bradley M. Kuhn -
r4182:05cabd91 kallithea-2.2.5-r...
parent child Browse files
Show More
@@ -191,8 +191,8 b' show_revision_number = true'
191 191
192 192 ## gist URL alias, used to create nicer urls for gist. This should be an
193 193 ## url that does rewrites to _admin/gists/<gistid>.
194 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid>
194 ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid>
196 196 gist_alias_url =
197 197
198 198 ## white list of API enabled controllers. This allows to add list of
@@ -84,7 +84,7 b' will be available.'
84 84
85 85 To get started quickly simply run::
86 86
87 rhodecode-api _create_config --apikey=<youapikey> --apihost=<rhodecode host>
87 rhodecode-api _create_config --apikey=<youapikey> --apihost=<your.kallithea.server>
88 88
89 89 This will create a file named .config in the directory you executed it storing
90 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 37 setup process can be fully automated, example for lazy::
38 38
39 paster setup-rhodecode production.ini --user=marcink --password=secret --email=marcin@rhodecode.org --repos=/home/marcink/my_repos
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 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 542 error_log /var/log/nginx/gist.error.log;
543 543
544 544 ssl on;
545 ssl_certificate gist.rhodecode.myserver.com.crt;
546 ssl_certificate_key gist.rhodecode.myserver.com.key;
545 ssl_certificate gist.your.kallithea.server.crt;
546 ssl_certificate_key gist.your.kallithea.server.key;
547 547
548 548 ssl_session_timeout 5m;
549 549
@@ -551,19 +551,19 b' Sample config for nginx using proxy::'
551 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 552 ssl_prefer_server_ciphers on;
553 553
554 rewrite ^/(.+)$ https://rhodecode.myserver.com/_admin/gists/$1;
555 rewrite (.*) https://rhodecode.myserver.com/_admin/gists;
554 rewrite ^/(.+)$ https://your.kallithea.server/_admin/gists/$1;
555 rewrite (.*) https://your.kallithea.server/_admin/gists;
556 556 }
557 557
558 558 server {
559 559 listen 443;
560 server_name rhodecode.myserver.com;
560 server_name your.kallithea.server;
561 561 access_log /var/log/nginx/rhodecode.access.log;
562 562 error_log /var/log/nginx/rhodecode.error.log;
563 563
564 564 ssl on;
565 ssl_certificate rhodecode.myserver.com.crt;
566 ssl_certificate_key rhodecode.myserver.com.key;
565 ssl_certificate your.kallithea.server.crt;
566 ssl_certificate_key your.kallithea.server.key;
567 567
568 568 ssl_session_timeout 5m;
569 569
@@ -191,8 +191,8 b' show_revision_number = true'
191 191
192 192 ## gist URL alias, used to create nicer urls for gist. This should be an
193 193 ## url that does rewrites to _admin/gists/<gistid>.
194 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid>
194 ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid>
196 196 gist_alias_url =
197 197
198 198 ## white list of API enabled controllers. This allows to add list of
@@ -1,10 +1,10 b''
1 1 [default]
2 api_url = http://your.rhodecode.server:5000/_admin/api
2 api_url = http://your.kallithea.server:5000/_admin/api
3 3 api_user = admin
4 4 api_key = XXXXXXXXXXXX
5 5
6 6 ldap_uri = ldap://your.ldap.server:389
7 ldap_user = cn=rhodecode,ou=binders,dc=linaro,dc=org
7 ldap_user = cn=kallithea,ou=binders,dc=linaro,dc=org
8 8 ldap_key = XXXXXXXXX
9 9 base_dn = dc=linaro,dc=org
10 10
@@ -35,7 +35,7 b' def argparser(argv):'
35 35 "rhodecode-api [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] "
36 36 "[--config=CONFIG] [--save-config] "
37 37 "METHOD <key:val> <key2:val> ...\n"
38 "Create config file: rhodecode-api --apikey=<key> --apihost=http://rhodecode.server --save-config"
38 "Create config file: rhodecode-api --apikey=<key> --apihost=http://your.kallithea.server --save-config"
39 39 )
40 40
41 41 parser = argparse.ArgumentParser(description='RhodeCode API cli',
@@ -38,7 +38,7 b' def argparser(argv):'
38 38 "rhodecode-gist [-h] [--format=FORMAT] [--apikey=APIKEY] [--apihost=APIHOST] "
39 39 "[--config=CONFIG] [--save-config] [GIST OPTIONS] "
40 40 "[filename or stdin use - for terminal stdin ]\n"
41 "Create config file: rhodecode-gist --apikey=<key> --apihost=http://rhodecode.server --save-config"
41 "Create config file: rhodecode-gist --apikey=<key> --apihost=http://your.kallithea.server --save-config"
42 42 )
43 43
44 44 parser = argparse.ArgumentParser(description='RhodeCode Gist cli',
@@ -200,8 +200,8 b' show_revision_number = true'
200 200
201 201 <%text>## gist URL alias, used to create nicer urls for gist. This should be an</%text>
202 202 <%text>## url that does rewrites to _admin/gists/<gistid>.</%text>
203 <%text>## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal</%text>
204 <%text>## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid></%text>
203 <%text>## example: http://gist.kallithea.server/{gistid}. Empty means use the internal</%text>
204 <%text>## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid></%text>
205 205 gist_alias_url =
206 206
207 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 192 ## gist URL alias, used to create nicer urls for gist. This should be an
193 193 ## url that does rewrites to _admin/gists/<gistid>.
194 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid>
194 ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal
195 ## RhodeCode url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid>
196 196 gist_alias_url =
197 197
198 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