Skip to content

Commit

Permalink
Merge pull request #14 from Whiterzi/main
Browse files Browse the repository at this point in the history
update README.md
  • Loading branch information
jimmyshiau authored Jul 11, 2024
2 parents 83a17d0 + 8a535e2 commit e99504c
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ Transform emails into action items in [Quire](https://quire.io).

### on Mac

[Guide](https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/sideload-outlook-add-ins-for-testing)
1. create `.env` file contains the following variable
```
CLIENT_ID = client-id
CLIENT_SECRET = client-secret
HOST_URL = add-in-hosting-cdn-url
QUIRE_URL = quire-url
```

1. Upload `manifest.xml` to outlook manually
2. Do `npm run dev-server` to host dev server
2. edit `manifest.xml`, put the urls into `<AppDomains>`
```xml
<AppDomains><!-- ! Add-in domains -->
<AppDomain>QUIRE_URL</AppDomain>
<AppDomain>HOST_URL</AppDomain>
</AppDomains>
```

3. Upload `manifest.xml` to outlook manually, [Guide](https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/sideload-outlook-add-ins-for-testing)

4. Do `npm run dev-server` to host dev server

0 comments on commit e99504c

Please sign in to comment.