Skip to content

Commit 1157cbc

Browse files
authored
Remove mention of Cloudinary
1 parent c0176ee commit 1157cbc

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

README.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,8 @@ App for cataloguing trees planted and allowing the recorded trees to be uploaded
99
4. Running the `Tree Tracker` scheme will use the API settings you [configure in your secrets file](#config).
1010
5. When running on a device, you'll also need to trust the certificate in _Settings -> General -> Profiles_, otherwise you'll see an error after installing the build and before running it.
1111

12-
## Using your own Cloudinary server
13-
14-
### Cloudinary setup
15-
Cloudinary is used as an image storage and manipulation service, to temporarily hold captured images of the trees and allow these to be quickly resized for our needs.
16-
17-
1. Create a free account on [Cloudinary](https://cloudinary.com/users/register/free) (this will give you the needed Cloud name).
18-
2. Now create an [upload preset](https://cloudinary.com/console/settings/upload) (this will give you the Upload Preset name).
19-
3. Keep the keys as you'd need to add them to Secrets.swift later on.
20-
2112
## Rollbar
22-
We use [Rollbar](https://www.rollbar.com) for centralised logging of errors, to help us troubleshoot issues with the app during real world usage.
13+
We use [Rollbar](https://www.rollbar.com) for centralised error tracking, to help us troubleshoot issues with the app during real world usage.
2314
If you wish, you can sign up for a free Rollbar account, generate your own API token and provide it through `ROLLBAR_AUTH_TOKEN` to see telemetry in Rollbar during development. This can be useful if you are specifically adding telemetry features, but otherwise is probably more complex than just looking at the logs in XCode console.
2415

2516
If you choose not to setup Rollbar, simply add a dummy value for `ROLLBAR_AUTH_TOKEN` and any Rollbar calls will silently fail.
@@ -28,8 +19,11 @@ If you choose not to setup Rollbar, simply add a dummy value for `ROLLBAR_AUTH_T
2819
Now, to run the project, we'll need to generate the Secrets file. This means you need to run first install [`pouch`](https://github.com/sunshinejr/pouch) (the easiest is using `brew install sunshinejr/formulae/pouch`). Now, you need to have these environment variables available. It would be wise to prepare this file once and keep it somewhere obvious but take care not to check it in to Git. You can simply `source` the file whenever you need to regenerate Secrets.
2920

3021
```
31-
export CLOUDINARY_CLOUD_NAME=qqq2ek4mq
32-
export CLOUDINARY_UPLOAD_PRESET_NAME=iadfadff
22+
export AWS_BUCKET_NAME=
23+
export AWS_BUCKET_REGION=
24+
export AWS_BUCKET_PREFIX=
25+
export AWS_ACCESS_KEY=
26+
export AWS_SECRET_KEY=
3327
export PROTECT_EARTH_API_TOKEN="n|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3428
export PROTECT_EARTH_API_BASE_URL="api.endpoint.com"
3529
export PROTECT_EARTH_ENV_NAME=Development

0 commit comments

Comments
 (0)