2023-09-19 22:01:51 +05:30
|
|
|
1. Please clone and build
|
|
|
|
https://git.batsense.net/realaravinth/forgejo-notifications-core in the
|
|
|
|
parent directory and install it on this project.
|
|
|
|
2. Please deploy a local instance of https://github.com/Bassetts/warp-cors with:
|
2023-09-19 19:58:46 +05:30
|
|
|
|
|
|
|
```bash
|
2023-09-19 22:01:51 +05:30
|
|
|
docker run -dp 3030:3030 bassetts/warp-cors
|
2023-09-19 19:58:46 +05:30
|
|
|
```
|
|
|
|
|
2023-09-19 22:01:51 +05:30
|
|
|
The URL is hardcoded, so it won't work if warp-cors isn't running on
|
|
|
|
`localhost:3030`
|
2023-09-19 19:58:46 +05:30
|
|
|
|
2023-09-19 22:01:51 +05:30
|
|
|
3. I Haven't figured out how to build and deploy this project. I'm not
|
|
|
|
even sure if it is possible (I'm new to svelte). But I know the
|
2023-09-19 22:14:06 +05:30
|
|
|
development server works ;) :
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pnpm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
4. Create an access token by going to https://forgejo.exampl.org/user/settings/applications with the following scopes:
|
|
|
|
- read:notification
|
|
|
|
- read:organization
|
|
|
|
- read:issue
|
|
|
|
- read:repository
|
|
|
|
- read:user
|
|
|
|
|
|
|
|
This will be your password for logging in
|
2023-09-19 19:58:46 +05:30
|
|
|
|