mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
meta: use a single .env file for config (#3498)
Fixes: https://github.com/transloadit/uppy/issues/3473 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Mikael Finstad <finstaden@gmail.com>
This commit is contained in:
parent
7e9f34ed30
commit
f4f1b810b7
9 changed files with 21 additions and 16 deletions
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
|
|
@ -42,7 +42,7 @@ yarn run test:unit
|
|||
|
||||
We use [Cypress](cypress.io/) for our e2e test suite. Be sure to checkout “[Writing your first test](https://docs.cypress.io/guides/getting-started/writing-your-first-test#Add-a-test-file)” and the “[Introduction to Cypress](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress#Cypress-Can-Be-Simple-Sometimes)”. You should also be aware of the “[Best Practices](https://docs.cypress.io/guides/references/best-practices)”.
|
||||
|
||||
To get started make sure you have your `.env.local` set up. If it doesn’t exist, it will use the default value in the `.env` file which won’t work for most cases. Consider copy `.env` in a file named `.env.local` and the values relevant for the test(s) you are trying to run.
|
||||
To get started make sure you have your `.env` set up. Copy the contents of `.env.example` to a file named `.env` and add the values relevant for the test(s) you are trying to run.
|
||||
|
||||
To start the testing suite run:
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ Even though facebook [allows using](https://developers.facebook.com/blog/post/20
|
|||
|
||||
Make sure that you are using a development facebook app at <https://developers.facebook.com/apps>
|
||||
|
||||
Go to “Instagram Basic Display” and find `Instagram App ID` and `Instagram App Secret`. Put them in a file called `.env.local` in the repo root:
|
||||
Go to “Instagram Basic Display” and find `Instagram App ID` and `Instagram App Secret`. Put them in a file called `.env` in the repo root:
|
||||
|
||||
COMPANION_INSTAGRAM_KEY="Instagram App ID"
|
||||
COMPANION_INSTAGRAM_SECRET="Instagram App Secret"
|
||||
|
|
@ -78,7 +78,7 @@ append `/instagram/redirect` to it, such as:
|
|||
|
||||
Add this full ngrok URL to `Valid OAuth Redirect URIs` under `Instagram Basic Display`.
|
||||
|
||||
Edit `.env.local` and change to your ngrok URI:
|
||||
Edit `.env` and change to your ngrok URI:
|
||||
|
||||
COMPANION_DOMAIN="e0c7de09808d.ngrok.io"
|
||||
COMPANION_PROTOCOL="https"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue