Skip to content

Commit

Permalink
Merge pull request #37 from fmanimashaun/hotfix/credentials
Browse files Browse the repository at this point in the history
Include instructions to add AWS keys in readme.md
  • Loading branch information
tomasesquivelgc authored Feb 28, 2024
2 parents d00a7b3 + a5dd670 commit 7bda116
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,31 @@ rails db:create
rails db:migrate
```

5. Load default date to database
5. Create config/master.key:
```bash
rails credentials:edit
```


6. Edit credentials.yml.enc to include AWS keys:
```bash
EDITOR="code --wait" rails credentials:edit
```

7. Add AWS' access key and secret access key (shared through Microverse's platform):
```yml
aws:
access_key_id: AWS_ACCESS_KEY
private_access_key: AWS_PRIVATE_ACCESS_KEY
```
8. Save and close the credentials.yml.enc. The terminal must say:
```bash
File encrypted and saved.
```

7. Load default date to database:

```bash
rails db:seed
Expand Down

0 comments on commit 7bda116

Please sign in to comment.