From 778f29516e67cd6e42b2f7fe9baa2d6c33fe911c Mon Sep 17 00:00:00 2001 From: Ben Grant Date: Thu, 15 Apr 2021 22:11:07 +1000 Subject: [PATCH] Update instructions for extension --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index eb6655c..fbf3f86 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ Align your schedules to find the perfect time that works for everyone. 3. Run `node index.js` in the backend folder to start the API. 4. Run `yarn start` in the frontend folder to start the front end. +### Browser extension +The browser extension in `crabfit-browser-extension` can be tested by first running the frontend, and changing the iframe url in the extension's `popup.html` to match the local Crab Fit. Then it can be loaded as an unpacked extension in Chrome to test. + ## Deploy ### Frontend @@ -20,3 +23,6 @@ Align your schedules to find the perfect time that works for everyone. ### Backend 1. Deploy the backend `cd crabfit-backend && gcloud app deploy --project=crabfit` 2. Deploy the endpoints service `cd crabfit-backend && gcloud endpoints services deploy swagger.yaml` + +### Browser extension +Compress everything inside the `crabfit-browser-extension` folder and use that zip to deploy using Chrome web store and Mozilla Add-on store.