From 802134596fe9d0b7fc753d3145bf989a1dc166c8 Mon Sep 17 00:00:00 2001 From: Leena Date: Mon, 10 Oct 2016 22:39:24 +0530 Subject: [PATCH] Add instruction for adding the admin user --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d57d6e4..2afe05b 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,15 @@ rake db:create rake db:migrate ``` +Add admin user: + +``` bash +rake db:seed +``` +This will add the user with the username _admin@example.com_ and the password _password_. + +If you prefer to change these, change the same in the file _db/seeds.rb_ before running `rake db:seed` command. + Run the server: ``` bash