Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,9 @@ fi

```

5. Download and install [Apollo](https://www.apollographql.com/docs/devtools/cli/) and GraphQL with the following commands. You will need to have Node’s NPM installed on your device.

- `npm install -g apollo`
- `npm install -g graphql`

6. Select the `Uplift` schema to use our development server and `Uplift-Prod` to use our production server.
7. Run the following code: `./apollo-ios-cli generate -p "UpliftSecrets/apollo-codegen-config-dev.json" -f`
8. Build the project and you should be good to go.
5. Select the `Uplift` schema to use our development server and `Uplift-Prod` to use our production server.
6. Run the following code: `./apollo-ios-cli generate -p "UpliftSecrets/apollo-codegen-config-dev.json" -f`
7. Build the project and you should be good to go.

## Common Issues

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@
echo "Installing Swiftlint via Homebrew"
brew install swiftlint

echo "Installing Apollo Client Dependencies"
brew install node
npm install -g apollo
npm install -g graphql

echo "Downloading Secrets"
brew install wget
cd $CI_PRIMARY_REPOSITORY_PATH/ci_scripts
mkdir ../UpliftSecrets
wget -O ../UpliftSecrets/apollo-codegen-config-dev.json "$CODEGEN_DEV"
wget -O ../UpliftSecrets/apollo-codegen-config-prod.json "$CODEGEN_PROD"
wget -O ../UpliftSecrets/Keys.xcconfig "$KEYS"
wget -O ../UpliftSecrets/schema.graphqls "$SCHEMA"
wget -O ../UpliftSecrets/GoogleService-Info.plist "$GOOGLE_PLIST"

echo "Generating API file"
Expand Down