From 270d80b418e34e334aed87d2dd470c30031b828c Mon Sep 17 00:00:00 2001 From: John Weis Date: Tue, 15 Jan 2013 10:31:57 -0500 Subject: [PATCH] added warning message to doc/raketasks/maintenance.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unsuspecting users will run this command and drop their database.  This is especially important, as setting up automatic backups is not part of the installation instructions. This would solve a lot of community pain: #1844 --- doc/raketasks/maintenance.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md index 758580b6832..07e4ae2f68a 100644 --- a/doc/raketasks/maintenance.md +++ b/doc/raketasks/maintenance.md @@ -1,11 +1,13 @@ ### Setup production application -Runs the following rake tasks: +Runs the following rake tasks: * db:setup (Create the database, load the schema, and initialize with the seed data) * db:seed_fu (Loads seed data for the current environment.) * gitlab:app:enable_automerge (see "Features") +##### Warning: if you have already run this command, this will drop your database! + ``` bundle exec rake gitlab:app:setup RAILS_ENV=production ``` -- GitLab