Change VCS Server Settings¶
If you need to manually configure the VCS Server settings on a RhodeCode Enterprise instance, use the following steps. If you have not installed a VCS Server, see Install a VCS Server.
Link a VCS Server to RhodeCode Enterprise¶
To configure a RhodeCode Enterprise instance to use a VCS Server, use the following steps:
- Find the information of the specific VCS Server
$ rccontrol status
- NAME: enterprise-1
- STATUS: RUNNING
- TYPE: Enterprise
- VERSION: 3.5.0
- VCS: None
- URL: http://127.0.0.1:10001
- NAME: vcsserver-1
- STATUS: RUNNING
- TYPE: VCSServer
- VERSION: 3.5.0
- URL: http://127.0.0.1:10000
- Open the
rhodecode.ini
file for that particular instance. The default location is/home/<user>/.rccontrol/<instance-id>/rhodecode.ini
- Set the
vcs.server
property to match those of your running VCS Server.
##################
### VCS CONFIG ###
##################
vcs.server.enable = true
vcs.server = 127.0.0.1:10000
vcs.server.log_level = info
vcs.start_server = false
vcs.backends = hg, git, svn
vcs.connection_timeout = 3600
- Save the file and restart the RhodeCode Enterprise instance to pick-up the changes
$ rccontrol restart enterprise-1
Stopping instance: enterprise-1
Starting instance: enterprise-1
- See that the RhodeCode Enterprise instance is linked to the right VCS Server server
$ rccontrol status
- NAME: enterprise-1
- STATUS: RUNNING
- TYPE: Enterprise
- VERSION: 3.5.0
- VCS: vcsserver-1
- URL: http://127.0.0.1:10001
- NAME: vcsserver-1
- STATUS: RUNNING
- TYPE: VCSServer
- VERSION: 3.5.0
- URL: http://127.0.0.1:10000