From 5d4fdb3eccadd56f9cb7d9ccd59bad6f581d6c6b Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Tue, 8 Feb 2011 11:58:49 -0300 Subject: [PATCH] Documenting how to create admin user using console --- INSTALL | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/INSTALL b/INSTALL index a27c08c..9352098 100644 --- a/INSTALL +++ b/INSTALL @@ -248,6 +248,10 @@ $ RAILS_ENV=production ./script/runner "Environment.default.domains << Domain.ne (replace "your.domain.com" with your actual domain name) +Add at least an user as admin of environment: + +$ RAILS_ENV=production ./script/runner "User.create(:login => 'adminuser', :email => 'admin@example.com', :password => 'admin', :password_confirmation => 'admin', :environment => Environment.default)" + Compile the translations: $ RAILS_ENV=production rake noosfero:translations:compile -- libgit2 0.21.2