2017-11-01 11:56:40 -04:00
---
comments: false
---
2017-10-11 01:59:34 -04:00
# GitLab development guides
2014-04-24 13:53:18 -04:00
2017-10-11 01:59:34 -04:00
## Get started!
2016-08-04 06:45:59 -04:00
2017-10-11 01:59:34 -04:00
- Setup GitLab's development environment with [GitLab Development Kit (GDK) ](https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/howto/README.md )
- [GitLab contributing guide ](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md )
- [Architecture ](architecture.md ) of GitLab
- [Rake tasks ](rake_tasks.md ) for development
2016-08-04 06:45:59 -04:00
2017-10-11 01:59:34 -04:00
## Processes
- [GitLab core team & GitLab Inc. contribution process ](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/PROCESS.md )
- [Generate a changelog entry with `bin/changelog` ](changelog.md )
- [Code review guidelines ](code_review.md ) for reviewing code and having code reviewed.
2017-12-05 11:49:49 -05:00
- [Automatic CE->EE merge ](automatic_ce_ee_merge.md )
2017-12-06 11:23:53 -05:00
- [Guidelines for implementing Enterprise Edition features ](ee_features.md )
2017-10-11 01:59:34 -04:00
## UX and frontend guides
2016-08-04 06:45:59 -04:00
2016-11-12 14:48:41 -05:00
- [UX guide ](ux_guide/index.md ) for building GitLab with existing CSS styles and elements
2017-03-22 15:30:54 -04:00
- [Frontend guidelines ](fe_guide/index.md )
2017-11-14 17:29:33 -05:00
- [Emoji guide ](fe_guide/emojis.md )
2017-10-11 01:59:34 -04:00
## Backend guides
2017-12-29 01:29:53 -05:00
- [GitLab utilities ](utilities.md )
2017-10-11 01:59:34 -04:00
- [API styleguide ](api_styleguide.md ) Use this styleguide if you are
contributing to the API.
2016-10-21 12:13:41 -04:00
- [Sidekiq guidelines ](sidekiq_style_guide.md ) for working with Sidekiq workers
2017-10-11 01:59:34 -04:00
- [Working with Gitaly ](gitaly.md )
- [Manage feature flags ](feature_flags.md )
- [View sent emails or preview mailers ](emails.md )
- [Shell commands ](shell_commands.md ) in the GitLab codebase
2017-01-27 06:17:21 -05:00
- [`Gemfile` guidelines ](gemfile.md )
2017-10-11 01:59:34 -04:00
- [Sidekiq debugging ](sidekiq_debugging.md )
- [Gotchas ](gotchas.md ) to avoid
2017-11-21 10:15:24 -05:00
- [Avoid modules with instance variables ](module_with_instance_variables.md ) if possible
2017-10-11 01:59:34 -04:00
- [Issue and merge requests state models ](object_state_models.md )
- [How to dump production data to staging ](db_dump.md )
2017-10-13 12:50:36 -04:00
- [Working with the GitHub importer ](github_importer.md )
2016-08-04 06:45:59 -04:00
2017-10-11 01:59:34 -04:00
## Performance guides
2016-08-04 06:45:59 -04:00
2017-10-11 01:59:34 -04:00
- [Instrumentation ](instrumentation.md )
- [Performance guidelines ](performance.md )
2016-08-19 11:21:00 -04:00
- [Merge request performance guidelines ](merge_request_performance_guidelines.md )
for ensuring merge requests do not negatively impact GitLab performance
2016-08-04 06:45:59 -04:00
2017-10-11 01:59:34 -04:00
## Databases guides
2016-08-11 08:22:21 -04:00
2017-10-11 01:59:34 -04:00
### Migrations
2016-08-11 08:22:21 -04:00
2016-08-04 11:17:31 -04:00
- [What requires downtime? ](what_requires_downtime.md )
2017-10-11 01:59:34 -04:00
- [SQL guidelines ](sql.md ) for working with SQL queries
- [Migrations style guide ](migration_style_guide.md ) for creating safe SQL migrations
- [Post deployment migrations ](post_deployment_migrations.md )
- [Background migrations ](background_migrations.md )
- [Swapping tables ](swapping_tables.md )
### Best practices
- [Merge Request checklist ](database_merge_request_checklist.md )
2016-08-11 08:22:21 -04:00
- [Adding database indexes ](adding_database_indexes.md )
2017-10-11 01:59:34 -04:00
- [Foreign keys & associations ](foreign_keys.md )
- [Single table inheritance ](single_table_inheritance.md )
- [Polymorphic associations ](polymorphic_associations.md )
- [Serializing data ](serializing_data.md )
- [Hash indexes ](hash_indexes.md )
- [Storing SHA1 hashes as binary ](sha1_as_binary.md )
- [Iterating tables in batches ](iterating_tables_in_batches.md )
- [Ordering table columns ](ordering_table_columns.md )
- [Verifying database capabilities ](verifying_database_capabilities.md )
2017-11-15 22:19:14 -05:00
- [Database Debugging and Troubleshooting ](database_debugging.md )
2018-01-15 10:21:04 -05:00
- [Query Count Limits ](query_count_limits.md )
2017-10-11 01:59:34 -04:00
2017-10-11 10:33:57 -04:00
## Testing guides
- [Testing standards and style guidelines ](testing_guide/index.md )
- [Frontend testing standards and style guidelines ](testing_guide/frontend_testing.md )
2017-10-11 01:59:34 -04:00
## Documentation guides
- [Writing documentation ](writing_documentation.md )
2017-12-15 05:56:21 -05:00
- [Documentation styleguide ](doc_styleguide.md )
- [Markdown ](../user/markdown.md )
2017-10-11 01:59:34 -04:00
## Internationalization (i18n) guides
2017-05-16 14:26:12 -04:00
2017-10-09 05:28:01 -04:00
- [Introduction ](i18n/index.md )
2017-09-26 17:15:19 -04:00
- [Externalization ](i18n/externalization.md )
- [Translation ](i18n/translation.md )
2017-05-16 14:26:12 -04:00
2017-10-11 01:59:34 -04:00
## Build guides
- [Building a package for testing purposes ](build_test_package.md )
2016-08-04 06:45:59 -04:00
## Compliance
- [Licensing ](licensing.md ) for ensuring license compliance