Skip to content

Commit 642f813

Browse files
Merge pull request #359 from Real-Dev-Squad/feature/firebase-tools-local-#358
Using firebase tools from local node_modules
2 parents dc12a52 + a806d54 commit 642f813

File tree

4 files changed

+3646
-105
lines changed

4 files changed

+3646
-105
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
uses: actions/setup-node@v1
2828
with:
2929
node-version: ${{ matrix.node-version }}
30-
- run: npm install -g firebase-tools
3130
- run: npm install
3231
- run: npm run build --if-present
3332
- run: npm test

CONTRIBUTING.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,15 @@ The following project structure should be followed:
108108
- Pre-requisites:
109109
- Node.js version 8.0 or higher.
110110
- Java version 1.8 or higher.
111-
- Firebase CLI: `npm install -g firebase-tools`
112111
113112
## Using Firebase Emulator Locally
114113
- [Firebase Local Emulator Suite](https://firebase.google.com/docs/emulator-suite) can be used locally as the DB for the project
115114
- Pre-requisites:
116115
- Node.js version 8.0 or higher.
117116
- Java version 1.8 or higher.
118-
- Firebase CLI: `npm install -g firebase-tools`
119-
- Run: `firebase emulators:start`
120-
- The emulator will be running on the port: 8080
121-
- You can view the emulator UI at: `http://localhost:4000`
117+
- Run: `npx firebase emulators:start`
118+
- The emulator will run and display the url you can access it on.
119+
- [Future] You can view the emulator UI at: `http://localhost:4000`
122120
123121
## Running test scripts on Windows
124122
- Git Bash is recommended for running test scripts on Windows.

0 commit comments

Comments
 (0)