Merge pull request #151 from ente-io/deployment-md

deployment MD
This commit is contained in:
Abhinav Kumar 2023-02-18 06:18:35 +05:30 committed by GitHub
commit a3bd92cf44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
deployment.md Normal file
View file

@ -0,0 +1,25 @@
Notes on how to upload electron symbols directly to sentry instance (bypassing the CF limits) cc @abhi just for future reference
To upload electron symbols
1. Create a tunnel
```
ssh -p 7426 -N -L 8080:localhost:9000 sentry
```
2. Add the following env file
```
NEXT_PUBLIC_IS_SENTRY_ENABLED = yes
SENTRY_ORG = ente
SENTRY_PROJECT = bhari-frame
SENTRY_URL2 = https://sentry.ente.io/
SENTRY_URL = http://localhost:8080/
SENTRY_AUTH_TOKEN = xxx
SENTRY_LOG_LEVEL = debug
```
3. Run
```
node sentry-symbols.js
```