Skip to content

Commit 16742ff

Browse files
committed
test
1 parent 4ebd9f7 commit 16742ff

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ mkdir $FIREBASE_WEBAPI_DIR
3232
git clone $FIREBASE_WEBAPI_REPO $FIREBASE_WEBAPI_DIR
3333
```
3434

35+
## Before using
36+
37+
- add your service account files to `./accounts` directory (you can use more than one file for the different projects)
38+
- add your environments variables in `.env.YOUR_PROJECT_ID` file (you can use more than one file for the different projects)
39+
- add random uuid/key in `.envkey` file
40+
- encrypt your files `npm run encrypt`
41+
3542
## Firebase functions
3643

3744
Cloud functions for the project. All functions are requested via `lib/loader.js` using dynamic loading.
@@ -41,7 +48,7 @@ Cloud functions for the project. All functions are requested via `lib/loader.js`
4148
- Install the dependencies: `npm ci`
4249
- Install global dependencies: `sudo npm install firebase-tools -g`
4350
- Set the .envkey file: `echo "00000000-0000-0000-0000-000000000000">./.envkey`
44-
- Decrypt env and accoun files: `npm run decrypt`
51+
- Decrypt env and account files: `npm run decrypt`
4552
- To update the dependencies: `npm run update`
4653
- To run lint `npm run lint`
4754
- To run build `npm run build`

0 commit comments

Comments
 (0)