Skip to content

Commit 6a34423

Browse files
committed
Reformat google instructions
1 parent 179eff3 commit 6a34423

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ export TRAITDB_PG_DEV_PASS="your-password-here"
2525
4. Run `rake db:setup`. This Instructs Rails to connect to your database and create the required users and databases. If your database requires you to authenticate before creating users/databases, you will be prompted for credentials.
2626
5. If `rake db:setup` is successful, it will also run a `rake db:migrate` to create database tables. If not successful, you can create the databases and users manually, then run `rake db:migrate` manually.
2727
6. If you wish to enable Google Sign-in (recommended), you will need to
28-
1. Register an application for [Google OAuth 2.0](https://developers.google.com/identity/protocols/OAuth2)
29-
2. Enable the Google+ API
30-
3. Set the Client ID and Client Secret credentials in your environment:
31-
```
32-
export TRAITDB_GOOGLE_APP_ID="your-google-app-id"
33-
export TRAITDB_GOOGLE_APP_SECRET="your-google-app-secret"
34-
```
28+
- Register an application for [Google OAuth 2.0](https://developers.google.com/identity/protocols/OAuth2)
29+
- Enable the Google+ API
30+
- Set the Client ID and Client Secret credentials in your environment:
31+
```
32+
export TRAITDB_GOOGLE_APP_ID="your-google-app-id"
33+
export TRAITDB_GOOGLE_APP_SECRET="your-google-app-secret"
34+
```
3535
7. Start the server with `rails server`.
3636
8. Visit [http://localhost:3000](http://localhost:3000) to access the application. You will be shown the about page. If you click _Upload_, you will be redirected to the sign-in screen. From here, you can sign in with OpenID or a Google Account
3737
9. Start a [delayed_job](https://github.com/collectiveidea/delayed_job) worker. Delayed job is used to execute dataset imports as a background process. It includes a rake task to start a worker. You can run `rake jobs:work` in an additional terminal process, or run a worker as a daemon with `script/delayed_job start`.

0 commit comments

Comments
 (0)