Skip to content

Commit cc2d888

Browse files
committed
lint
1 parent fe51c92 commit cc2d888

File tree

1 file changed

+12
-7
lines changed
  • dev-packages/e2e-tests/test-applications/firebase

1 file changed

+12
-7
lines changed

dev-packages/e2e-tests/test-applications/firebase/README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ exit
3333
9. Switch back to previous tab, stop the docker container (ctrl+c).
3434
10. You should now be able to run the test, as you have correctly authenticated the firebase emulator
3535

36-
3736
### Preparing data for CLI
3837

3938
1. Please authorize the docker first - see the previous section
@@ -45,15 +44,21 @@ npm run createEnvFromConfig
4544

4645
3. It will create a new file called ".env" inside folder "docker"
4746
4. View the file. There will be 2 params CONFIG_FIREBASE_TOOLS and CONFIG_UPDATE_NOTIFIER_FIREBASE_TOOLS.
48-
5. Now inside the CLI create a new variable under the name CONFIG_FIREBASE_TOOLS and CONFIG_UPDATE_NOTIFIER_FIREBASE_TOOLS - take values from mentioned .env file
49-
6. File .env is ignored to avoid situation when developer after authorizing firebase with private account will accidently push the tokens to github.
50-
7. But if we want the users to still have some default to be used for authorisation (on their local development) it will be enough to commit this file, we just have to authorize it with some "special" account.
47+
5. Now inside the CLI create a new variable under the name CONFIG_FIREBASE_TOOLS and
48+
CONFIG_UPDATE_NOTIFIER_FIREBASE_TOOLS - take values from mentioned .env file
49+
6. File .env is ignored to avoid situation when developer after authorizing firebase with private account will
50+
accidently push the tokens to github.
51+
7. But if we want the users to still have some default to be used for authorisation (on their local development) it will
52+
be enough to commit this file, we just have to authorize it with some "special" account.
5153

52-
**Some explanation towards environment settings, the environment variable defined directly in "environments" takes precedence over .env file, that means it will be safe to define it in CLI and still keeps the .env file.**
54+
**Some explanation towards environment settings, the environment variable defined directly in "environments" takes
55+
precedence over .env file, that means it will be safe to define it in CLI and still keeps the .env file.**
5356

5457
### Scripts - helpers
5558

56-
* createEnvFromConfig - it will use the firebase docker authentication and create .env file which will be used then by docker whenever you run emulator
57-
* createConfigFromEnv - it will use '.env' file in docker folder to create .config for the firebase to be used to authenticate whenever you run docker, Docker by default loads .env file itself
59+
- createEnvFromConfig - it will use the firebase docker authentication and create .env file which will be used then by
60+
docker whenever you run emulator
61+
- createConfigFromEnv - it will use '.env' file in docker folder to create .config for the firebase to be used to
62+
authenticate whenever you run docker, Docker by default loads .env file itself
5863

5964
Use these scripts when testing and updating the environment settings on CLI

0 commit comments

Comments
 (0)