mirror of
https://github.com/bellingcat/auto-archiver-setup-tool.git
synced 2026-06-07 19:18:36 +03:00
minor updates
This commit is contained in:
@@ -27,8 +27,8 @@ yarn lint
|
|||||||
2. login to your firebase account with `firebase login`
|
2. login to your firebase account with `firebase login`
|
||||||
3. make sure you have access to the project `firebase projects:list`
|
3. make sure you have access to the project `firebase projects:list`
|
||||||
4. build `yarn build` and check with `yarn preview`, once all is good release `firebase deploy --only hosting`
|
4. build `yarn build` and check with `yarn preview`, once all is good release `firebase deploy --only hosting`
|
||||||
5. to update schedule functions `firebase deploy --only functions` currently these are disabled
|
<!-- 5. to update schedule functions `firebase deploy --only functions` currently these are disabled
|
||||||
6. if you add any library to a function, install it inside the `/functions` folder and not in the root folder
|
6. if you add any library to a function, install it inside the `/functions` folder and not in the root folder -->
|
||||||
<!-- 7. to update secrets use `firebase functions:secrets:set SECRET_NAME` more info [here](https://firebase.google.com/docs/functions/config-env?gen=2nd#managing_secrets) -->
|
<!-- 7. to update secrets use `firebase functions:secrets:set SECRET_NAME` more info [here](https://firebase.google.com/docs/functions/config-env?gen=2nd#managing_secrets) -->
|
||||||
<!-- 1. `API_SERVICE_PASSWORD` for the auto-archiver-api -->
|
<!-- 1. `API_SERVICE_PASSWORD` for the auto-archiver-api -->
|
||||||
<!-- 2. `GOOGLE_API_CLIENT_EMAIL` and `GOOGLE_API_PRIVATE_KEY` for the scheduled function to validate sheets exist -->
|
<!-- 2. `GOOGLE_API_CLIENT_EMAIL` and `GOOGLE_API_PRIVATE_KEY` for the scheduled function to validate sheets exist -->
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
import { gapi } from "gapi-script";
|
import { gapi } from "gapi-script";
|
||||||
// import { GoogleAuthProvider, signInWithCredential } from "firebase/auth";
|
|
||||||
// import { firebaseAuth } from "@/firebase.js";
|
|
||||||
|
|
||||||
gapi.load("client:auth2", async () => {
|
gapi.load("client:auth2", async () => {
|
||||||
gapi.client.init({
|
gapi.client.init({
|
||||||
|
|||||||
Reference in New Issue
Block a user