gitlab-org--gitlab-foss/doc/install/structure.md

20 lines
1.0 KiB
Markdown
Raw Normal View History

2013-01-17 12:19:40 +00:00
# GitLab directory structure
2013-01-16 14:17:21 +00:00
2013-01-17 12:19:40 +00:00
This is the directory structure you will end up with following the instructions in the Installation Guide.
2013-01-16 14:17:21 +00:00
|-- home
2013-02-05 07:17:45 +00:00
| |-- git
2013-01-17 12:19:40 +00:00
| |-- .ssh
2013-01-16 14:17:21 +00:00
| |-- gitlab
2013-02-05 07:17:45 +00:00
| |-- gitlab-shell
2013-01-17 12:19:40 +00:00
| |-- repositories
2014-01-29 14:17:36 +00:00
* `/home/git/.ssh` - contains openssh settings. Specifically the `authorized_keys` file managed by gitlab-shell.
* `/home/git/gitlab` - GitLab core software.
2014-09-02 02:33:13 +00:00
* `/home/git/gitlab-shell` - Core add-on component of GitLab. Maintains SSH cloning and other functionality.
2014-01-29 14:17:36 +00:00
* `/home/git/repositories` - bare repositories for all projects organized by namespace. This is where the git repositories which are pushed/pulled are maintained for all projects. **This area is critical data for projects. [Keep a backup](../raketasks/backup_restore.md)**
2013-01-17 12:19:40 +00:00
*Note: the default locations for repositories can be configured in `config/gitlab.yml` of GitLab and `config.yml` of gitlab-shell.*
2013-01-17 12:19:40 +00:00
2014-01-29 14:17:36 +00:00
To see a more in-depth overview see the [GitLab architecture doc](../development/architecture.md).