From e3030ff65c39c0ba490691fdb0212b385da8a5d9 Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Tue, 28 Oct 2014 17:50:22 -0400 Subject: [PATCH] update README file with admin setup --- README.textile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.textile b/README.textile index 972e3fc..15ccef8 100644 --- a/README.textile +++ b/README.textile @@ -36,6 +36,13 @@ h2. (Optional) Email Setup Set your domain, user_name, and password in config/environment.rb +h2. (Optional) Admin Setup + +Open a rails console: rails console or RAILS_ENV=production rails console, depending on your environment +Add the admin user: AdminUser.create!(email: 'YOUR_ADMIN_EMAIL@EXAMPLE.COM', password: 'YOUR_PASSWORD', password_confirmation: 'YOUR_PASSWORD') +Exit the rails console: exit +Login via the admin web interface at: "http://YOUR_DOMAIN.COM/admin" + h1. Installation on clean install of Ubuntu 12.04 LTS sudo apt-get upgrade