Commit 9ce9814e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'dev-rake-task-docs' into 'master'

Dev rake task docs

As discussed in #1184

See merge request !1301
parents 9932f9e4 3dc25ba3
# Rake tasks for developers # Rake tasks for developers
## Setup db with developer seeds: ## Setup db with developer seeds
Note that if your db user does not have advanced privileges you must create the db manually before running this command. Note that if your db user does not have advanced privileges you must create the db manually before running this command.
...@@ -8,6 +8,10 @@ Note that if your db user does not have advanced privileges you must create the ...@@ -8,6 +8,10 @@ Note that if your db user does not have advanced privileges you must create the
bundle exec rake setup bundle exec rake setup
``` ```
The `setup` task is a alias for `gitlab:setup`.
This tasks calls `db:setup` to create the database, calls `add_limits_mysql` that adds limits to the database schema in case of a MySQL database and fianlly it calls `db:seed_fu` to seed the database.
Note: `db:setup` calls `db:seed` but this does nothing.
## Run tests ## Run tests
This runs all test suites present in GitLab. This runs all test suites present in GitLab.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment