Add first time admin login to FAQs (#11733)

This commit is contained in:
Josh Puetz 2020-12-03 11:07:07 -06:00 committed by GitHub
parent 347f7376f1
commit eabff9cfc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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