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