File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ mkdir $FIREBASE_WEBAPI_DIR
32
32
git clone $FIREBASE_WEBAPI_REPO $FIREBASE_WEBAPI_DIR
33
33
```
34
34
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
+
35
42
## Firebase functions
36
43
37
44
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`
41
48
- Install the dependencies: ` npm ci `
42
49
- Install global dependencies: ` sudo npm install firebase-tools -g `
43
50
- 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 `
45
52
- To update the dependencies: ` npm run update `
46
53
- To run lint ` npm run lint `
47
54
- To run build ` npm run build `
You can’t perform that action at this time.
0 commit comments