Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
plahteenlahti authored Aug 26, 2020
1 parent cc07643 commit 698fd35
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ cd nyxo-app
yarn
```

_Link assets ()_
__Link assets__

```shell
react-native link
Expand All @@ -78,18 +78,18 @@ Set up Sentry for React Native by executing the command. More Sentry-related inf
sentry-wizard
```

__Intercom__
Unlink React Native Intercom and follow its manually installation instruction: https://developers.intercom.com/installing-intercom/docs/ios-installation#section-option-3-install-intercom-manually.
#### AWS-amplify
We use aws-amplify for our api and authentication. We will most likely simplify the process of setting up Amplify in fresh project at some point. At the moment the worfklow for getting everything to run is following:

```shell
react-native unlink react-native-intercom
```
- Get AWS account
- See the instructions for installing amplify-cli
- Do the following setup

### Setting up enviroment variables

Nyxo configurations keys are placed in config.ts file, which then references the requirement enviroment variables from local `.env`file. Head to `root/env-structure.md` file to learn more. The way the project is structured you should need to provide keys for all the services to make the app work.

####
### Setting up enviroment variables

Nyxo configurations keys are placed in config.ts file, which then references the requirement enviroment variables from local `.env`file. Head to `docs/env-structure.md` file to learn more. The way the project is structured you should need to provide keys for all the services to make the app work.

```
//.env contents
Expand All @@ -115,9 +115,9 @@ GARMIN_ACCESS_TOKEN_ENDPOINT=YOUR_KEY
GARMIN_GET_SLEEP_ENDPOINT=YOUR_KEY
POLAR_ID=YOUR_KEY
POLAR_TOKEN_ENDPOINT=YOUR_KEY
INTERCOM_KEY_IOS=YOUR_KEY
INTERCOM_KEY_ANDROID=YOUR_KEY
INTERCOM_ID=YOUR_KEY
INTERCOM_KEY_IOS=YOUR_KEY // or use the key provided in env-structure.md
INTERCOM_KEY_ANDROID=YOUR_KEY // or use the key provided in env-structure.md
INTERCOM_ID=YOUR_KEY // or use the key provided in env-structure.md
LINK_CODE_URL=YOUR_KEY
```

Expand Down

0 comments on commit 698fd35

Please sign in to comment.