Skip to content

Commit

Permalink
add export statement to .env_sample for #32
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Dec 27, 2019
1 parent ecd68cb commit 9fc9b9b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .env_sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GITHUB_CLIENT_ID=d6fca75c63daa014c187
GITHUB_CLIENT_SECRET=8eeb143935d1a505692aaef856db9b4da8245f3c
export GITHUB_CLIENT_ID=d6fca75c63daa014c187
export GITHUB_CLIENT_SECRET=8eeb143935d1a505692aaef856db9b4da8245f3c
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ capability to our Elixir App(s). <br />
because everyone [@dwyl](https://github.com/dwyl)
uses GitHub so using GitHub OAuth makes sense
for our internal (and external) tools.
As a result, there's no use reinventing the wheel every project,
and by making it into a well-documented and tested
By making it into a well-documented and tested
reusable module other people can benefit from it.

# _What_? 💭
Expand Down Expand Up @@ -113,7 +112,20 @@ GITHUB_CLIENT_SECRET=8eeb143935d1a505692aaef856db9b4da8245f3c
They are just here for illustration purposes.


> Pickup: https://github.com/settings/applications/1190344
> 💡 Tip: We tend to use an
[`.env`](https://github.com/dwyl/learn-environment-variables#3-use-a-env-file-locally-which-you-can-gitignore)
file to manage our environment variables on our `localhost`
and then use whichever system for environment variables appropriate
for our deployment.
e.g: [Heroku](https://github.com/dwyl/learn-environment-variables#environment-variables-on-heroku)
For an example `.env` file with the environment variables
required by `elixir-auth-github` see:
[`.env_sample`](https://github.com/dwyl/elixir-auth-github/blob/master/.env_sample)








Expand Down

0 comments on commit 9fc9b9b

Please sign in to comment.