Show More
@@ -498,18 +498,18 b' vcs.server = localhost:9900' | |||||
498 | ## Available protocols are: |
|
498 | ## Available protocols are: | |
499 | ## `pyro4` - using pyro4 server |
|
499 | ## `pyro4` - using pyro4 server | |
500 | ## `http` - using http-rpc backend |
|
500 | ## `http` - using http-rpc backend | |
501 |
|
|
501 | vcs.server.protocol = http | |
502 |
|
502 | |||
503 | ## Push/Pull operations protocol, available options are: |
|
503 | ## Push/Pull operations protocol, available options are: | |
504 | ## `pyro4` - using pyro4 server |
|
504 | ## `pyro4` - using pyro4 server | |
505 | ## `rhodecode.lib.middleware.utils.scm_app_http` - Http based, recommended |
|
505 | ## `rhodecode.lib.middleware.utils.scm_app_http` - Http based, recommended | |
506 | ## `vcsserver.scm_app` - internal app (EE only) |
|
506 | ## `vcsserver.scm_app` - internal app (EE only) | |
507 |
|
|
507 | vcs.scm_app_implementation = rhodecode.lib.middleware.utils.scm_app_http | |
508 |
|
508 | |||
509 | ## Push/Pull operations hooks protocol, available options are: |
|
509 | ## Push/Pull operations hooks protocol, available options are: | |
510 | ## `pyro4` - using pyro4 server |
|
510 | ## `pyro4` - using pyro4 server | |
511 | ## `http` - using http-rpc backend |
|
511 | ## `http` - using http-rpc backend | |
512 |
|
|
512 | vcs.hooks.protocol = http | |
513 |
|
513 | |||
514 | vcs.server.log_level = debug |
|
514 | vcs.server.log_level = debug | |
515 | ## Start VCSServer with this instance as a subprocess, usefull for development |
|
515 | ## Start VCSServer with this instance as a subprocess, usefull for development |
@@ -91,9 +91,9 b' use the following steps:' | |||||
91 | 1. Create a copy of `~/rhodecode-enterprise-ce/configs/development.ini` |
|
91 | 1. Create a copy of `~/rhodecode-enterprise-ce/configs/development.ini` | |
92 | 2. Adjust the configuration settings to your needs |
|
92 | 2. Adjust the configuration settings to your needs | |
93 |
|
93 | |||
94 |
|
|
94 | .. note:: | |
95 |
|
95 | |||
96 |
|
|
96 | It is recommended to use the name `dev.ini`. | |
97 |
|
97 | |||
98 |
|
98 | |||
99 | Setup the Development Database |
|
99 | Setup the Development Database | |
@@ -124,17 +124,6 b' files.' | |||||
124 | Start the Development Server |
|
124 | Start the Development Server | |
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
126 |
|
126 | |||
127 | First, set the `start.vcs_server` flag in the ``dev.ini`` file to true. |
|
|||
128 | For example: |
|
|||
129 |
|
||||
130 | .. code-block:: python |
|
|||
131 |
|
||||
132 | ### VCS CONFIG ### |
|
|||
133 | ################## |
|
|||
134 | vcs.start_server = true |
|
|||
135 | vcs.server = localhost:9900 |
|
|||
136 | vcs.server.log_level = debug |
|
|||
137 |
|
||||
138 | From the rhodecode-vcsserver directory, start the development server in another |
|
127 | From the rhodecode-vcsserver directory, start the development server in another | |
139 | nix-shell, using the following command:: |
|
128 | nix-shell, using the following command:: | |
140 |
|
129 | |||
@@ -143,10 +132,13 b' nix-shell, using the following command::' | |||||
143 | In the adjacent nix-shell which you created for your development server, you may |
|
132 | In the adjacent nix-shell which you created for your development server, you may | |
144 | now start CE with the following command:: |
|
133 | now start CE with the following command:: | |
145 |
|
134 | |||
|
135 | ||||
146 | rcserver dev.ini |
|
136 | rcserver dev.ini | |
147 |
|
137 | |||
148 | You may also wish to use the option `--reload` with this command so that any |
|
138 | .. note:: | |
149 | changes which you make in the code trigger an automatic refresh. |
|
139 | ||
|
140 | To automatically refresh - and recompile the frontend assets - when changes | |||
|
141 | are made in the source code, you can use the option `--reload`. | |||
150 |
|
142 | |||
151 |
|
143 | |||
152 | Run the Environment Tests |
|
144 | Run the Environment Tests |
General Comments 0
You need to be logged in to leave comments.
Login now