Skip to content
Snippets Groups Projects
Commit 05654be1 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Move development doc and link to the new location.

parent 7e42d559
No related branches found
No related tags found
1 merge request!410Major docs update
Loading
Loading
@@ -17,7 +17,7 @@ This can be the case when installation and `gitlab-ctl reconfigure` run went wit
## Merge request guidelines
 
- Please add a CHANGELOG entry for your contribution
- Have a look at the [development tips and tricks](doc/development.md)
- Have a look at the [development tips and tricks](doc/development/README.md)
 
 
## Maintainer documentation
Loading
Loading
Loading
Loading
@@ -36,7 +36,7 @@
 
## Omnibus GitLab developer documentation
 
- [Development Setup](development.md)
- [Development Setup](doc/development/README.md)
- [Release process](doc/release/README.md)
- [Building your own package](build.md)
 
Loading
Loading
# Development setup
 
To avoid building the packages for every change you do during development, it
is useful to setup a VM on which you can develop.
Once you get the VM running, download the package from
`https://about.gitlab.com/downloads/` and using the directions there finish the
package installation.
Once the package is installed, navigate to `/opt/gitlab/embedded/cookbooks` and
rename the `gitlab` directory which holds the internal omnibus-gitlab cookbook.
```
sudo mv /opt/gitlab/embedded/cookbooks/gitlab /opt/gitlab/embedded/cookbooks/gitlab.$(date +%s)
```
Clone the omnibus-gitlab repository from
`https://gitlab.com/gitlab-org/omnibus-gitlab.git` to a known location, for
example your home directory.
```
git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git ~/omnibus-gitlab
```
Once the repository is cloned symlink the cookbook in the omnibus-gitlab
repository, for example:
```
sudo ln -s ~/omnibus-gitlab/files/gitlab-cookbooks/gitlab /opt/gitlab/embedded/cookbooks/gitlab
```
Now you can do the changes in the omnibus-gitlab repository, try the changes
right away and contribute back to omnibus-gitlab.
Moved to [doc/development/README.md.](doc/development/README.md)
# Development setup
To avoid building the packages for every change you do during development, it
is useful to setup a VM on which you can develop.
Once you get the VM running, download the package from
`https://about.gitlab.com/downloads/` and using the directions there finish the
package installation.
Once the package is installed, navigate to `/opt/gitlab/embedded/cookbooks` and
rename the `gitlab` directory which holds the internal omnibus-gitlab cookbook.
```
sudo mv /opt/gitlab/embedded/cookbooks/gitlab /opt/gitlab/embedded/cookbooks/gitlab.$(date +%s)
```
Clone the omnibus-gitlab repository from
`https://gitlab.com/gitlab-org/omnibus-gitlab.git` to a known location, for
example your home directory.
```
git clone https://gitlab.com/gitlab-org/omnibus-gitlab.git ~/omnibus-gitlab
```
Once the repository is cloned symlink the cookbook in the omnibus-gitlab
repository, for example:
```
sudo ln -s ~/omnibus-gitlab/files/gitlab-cookbooks/gitlab /opt/gitlab/embedded/cookbooks/gitlab
```
Now you can do the changes in the omnibus-gitlab repository, try the changes
right away and contribute back to omnibus-gitlab.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment