From eabff9cfc81808d390ff8b3f9fc2ab0e2071951a Mon Sep 17 00:00:00 2001 From: Josh Puetz Date: Thu, 3 Dec 2020 11:07:07 -0600 Subject: [PATCH] Add first time admin login to FAQs (#11733) --- docs/faqs.md | 14 ++++++++++++++ docs/getting-started/start-app.md | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/faqs.md b/docs/faqs.md index 466822288..0815f6a57 100644 --- a/docs/faqs.md +++ b/docs/faqs.md @@ -4,6 +4,20 @@ title: FAQs # Frequently Asked Questions +## How do I log in after starting up Forem for the first time? + +Seeding the database create an admin user (see +[Database](/getting-started/db/#default-admin-user)) with the following +credentials: + +``` +email: admin@forem.local +password: password +``` + +Once logged in as this admin user, you can turn on any authentication methods +you'd like (see [Authentication](/backend/authentication/)) + ## How do I build my local copy of the Ruby source code documentation? ```shell diff --git a/docs/getting-started/start-app.md b/docs/getting-started/start-app.md index 1556d0d51..0855d1651 100644 --- a/docs/getting-started/start-app.md +++ b/docs/getting-started/start-app.md @@ -17,7 +17,9 @@ bin/startup (This just runs `foreman start -f Procfile.dev`, for notes on how to install Foreman, please see [Other Tools](/installation/others/)) -Then point your browser to http://localhost:3000/ to view the site. +Then point your browser to http://localhost:3000/ to view the site. To log in +use the admin account created by default (see +[Database](/getting-started/db/#default-admin-user)) If you run into issues while trying to run `bin/setup` and the error message isn't helpful, try running `bin/rails s -p 3000`. For example, you may need to