# Initial setup

**URL:** <https://discourse.openrobotics.org/t/initial-setup/2331>\
**Category:** Buildfarm\
**Created:** [July 28, 2017, 1:55am UTC](https://discourse.openrobotics.org/t/initial-setup/2331 "2017-07-28T01:55:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prem\_anand\_lakshmana](https://avatars.discourse-cdn.com/v4/letter/p/c77e96/32.png) [@prem\_anand\_lakshmana](https://discourse.openrobotics.org/u/prem_anand_lakshmana)\
**Post date:** [July 28, 2017, 1:55am UTC](https://discourse.openrobotics.org/t/initial-setup/2331/1 "2017-07-28T01:55:58Z")

</div>

Im trying to setup a buildfarm and need some clarification.

1. I cloned this repo - [GitHub - ros-infrastructure/buildfarm\_deployment](https://github.com/ros-infrastructure/buildfarm_deployment)
2. The doc in the repo says I need to model as per the config repo # [GitHub - ros-infrastructure/buildfarm\_deployment\_config: Example configuration for buildfarm\_deployment repo](https://github.com/ros-infrastructure/buildfarm_deployment_config)

Question:

1. The file inside the buildfarm\_deployment repo does not look like the config files in the buildfarm\_deployment\_config. Each directory(master,repo and slave) has only manifests and repo\_files directory. Where should I drop these config files?
2. Is there a dockerfile that I can use to spin off 3 servers in my local env.

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![tfoote](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/tfoote/32/3813_2.png) [@tfoote](https://discourse.openrobotics.org/u/tfoote)\
**Post date:** [July 28, 2017, 7:17pm UTC](https://discourse.openrobotics.org/t/initial-setup/2331/2 "2017-07-28T19:17:08Z")

</div>

> [@prem\_anand\_lakshmana](#):
>
> I cloned this repo - [GitHub - ros-infrastructure/buildfarm\_deployment](https://github.com/ros-infrastructure/buildfarm_deployment)
> 
> The doc in the repo says I need to model as per the config repo # [GitHub - ros-infrastructure/buildfarm\_deployment\_config: Example configuration for buildfarm\_deployment repo](https://github.com/ros-infrastructure/buildfarm_deployment_config)
> 
> Question:
> 
> The file inside the buildfarm\_deployment repo does not look like the config files in the buildfarm\_deployment\_config. Each directory(master,repo and slave) has only manifests and repo\_files directory. Where should I drop these config files?

You don’t need to fork the buildfarm\_deployment repo, but the buildfarm\_deployment\_config repo. See the instructions [here](https://github.com/ros-infrastructure/buildfarm_deployment/blob/master/README.md#forking-or-not) about how to “fork” privately.

The system is separated such that you can consider the buildfarm\_deployment repo to be used as a tool or library without modifications. You would only need to fork it if you want to change the behavior, and then you would modify your config to refer to your own forked version.

> [@prem\_anand\_lakshmana](#):
>
> Is there a dockerfile that I can use to spin off 3 servers in my local env.

No there is not. We originally started developing and testing doing that. However because we use Docker for isolation of the build steps we had to drop running the 3 host types in Docker too. This is because Docker-In-Docker is possible, but still has many hiccups that caused many more problems than we wanted to deal with. There’s a hope in the future to support running all three server configs on the same host. But that will take a bit of refactoring and is not currently a development priority. We recommend 3 VMs for testing/deployment.
