Skip to content

Commit

Permalink
chore: update S3 upload path and document AWS config
Browse files Browse the repository at this point in the history
  • Loading branch information
Whoops committed Sep 3, 2024
1 parent 7eb6689 commit f4c52a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .envrc.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ export DATABASE_USERNAME=postgres
export DATABASE_PASSWORD=postgres
export ARROW_DOMAIN=https://arrow.mbta.com
export ARROW_API_KEY=
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- `direnv allow`
- `cp .envrc.example .envrc`
- Update `.envrc` with your local Postgres username and password
- Update `.envrc` with your AWS credentials or ensure they are available in your shell
- `mix ecto.setup`
- `brew install chromedriver`
- Add your Arrow API key from https://arrow.mbta.com/mytoken to `.envrc`
Expand Down
2 changes: 1 addition & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ config :arrow, dev_routes: true
# Set prefix env for s3 uploads
config :arrow,
shape_storage_enabled?: true,
shape_storage_prefix_env: "local/"
shape_storage_prefix_env: "dev/local/"

# Do not include metadata nor timestamps in development logs
config :logger, :console, format: "[$level] $message\n"
Expand Down

0 comments on commit f4c52a8

Please sign in to comment.