This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 424
[GM-835] Update documentation for environment variables #878
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced May 14, 2020
zionts
force-pushed
the
adam/20/5/docs-update-for-env-vars
branch
from
May 14, 2020 08:18
1aefbd1
to
76c6a79
Compare
zionts
changed the title
Update documentation for environment variables
[GM-835] Update documentation for environment variables
May 14, 2020
docs/source/tutorial/production.md
Outdated
} | ||
}; | ||
``` | ||
Our key is now stored under the environment variable `APOLLO_KEY`. | ||
|
||
### Check and publish with the Apollo CLI | ||
|
||
It's time to publish our schema to Graph Manager! First, start your server in one terminal window by running `npm start`. In another terminal window, run: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"In another terminal window, run the following command, substituting the name of your graph where indicated:"
docs/source/tutorial/production.md
Outdated
|
||
### Check and publish with the Apollo CLI | ||
|
||
It's time to publish our schema to Graph Manager! First, start your server in one terminal window by running `npm start`. In another terminal window, run: | ||
|
||
```bash | ||
npx apollo service:push --endpoint=http://localhost:4000 | ||
npx apollo service:push --endpoint=http://localhost:4000 --graph=my-graph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "my-graph" to "name-of-graph"
StephenBarlow
approved these changes
May 14, 2020
zionts
commented
May 14, 2020
zionts
commented
May 14, 2020
This was referenced May 14, 2020
Closed
Closed
Closed
Closed
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since the release of Apollo Server 2.13.0, the
APOLLO_KEY
andAPOLLO_GRAPH_VARIANT
environment variables are preferred to theirENGINE_API_KEY
andENGINE_SCHEMA_TAG
predecessors. This updates the documentation for these, noting the former names for older versions of Apollo Server.