From c744ece52f1a6c42d34220dd19f4b51980e8094e Mon Sep 17 00:00:00 2001 From: Abhinav Date: Fri, 17 Feb 2023 20:01:55 +0530 Subject: [PATCH] added deployment md file with updating electron symbol guide --- deployment.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 deployment.md diff --git a/deployment.md b/deployment.md new file mode 100644 index 000000000..b3cf1ac3b --- /dev/null +++ b/deployment.md @@ -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 +``` \ No newline at end of file