Commit 704b7237 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Fix notifications for developers that don't read the documentation.

parent 490ae737
# 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,9 @@ Note that if your db user does not have advanced privileges you must create the ...@@ -8,6 +8,9 @@ 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, with `add_limits_mysql` it adds limits to the database schema in case of a MySQL database and fianlly it runs `db:seed_fu` to seed the database.
## Run tests ## Run tests
This runs all test suites present in GitLab. This runs all test suites present in GitLab.
......
namespace :db do
namespace :seed do
desc "Seed is replaced with seed_fu"
task :dump => :environment do
raise "Please run db:seed_fu instead of db:seed."
end
end
end
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