-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/Gurubase/gurubase into t…
…ask/discord-slack-bots
- Loading branch information
Showing
12 changed files
with
57 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
link-checker: | ||
name: Check links | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check the links | ||
uses: lycheeverse/lychee-action@v1 | ||
with: | ||
args: --max-concurrency 1 -v *.md **/*.md | ||
fail: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
http://localhost:8029/ | ||
https://platform.openai.com/api-keys | ||
https://mastodon.social/@gurubaseio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,11 +28,13 @@ | |
ROOT_PASSWORD = config('ROOT_PASSWORD', default='ChangeMe') | ||
|
||
SENTRY_ENABLED = config('SENTRY_ENABLED', default=False, cast=bool) | ||
if SENTRY_ENABLED: | ||
|
||
if SENTRY_ENABLED or ENV == "selfhosted": | ||
import sentry_sdk | ||
from sentry_sdk.integrations.celery import CeleryIntegration | ||
from sentry_sdk.integrations.django import DjangoIntegration | ||
SENTRY_DSN = config('SENTRY_DSN') | ||
from sentry_sdk.integrations.django import DjangoIntegration | ||
# Use the configured DSN or fallback to selfhosted DSN - https://sentry.zendesk.com/hc/en-us/articles/26741783759899-My-DSN-key-is-publicly-visible-is-this-a-security-vulnerability | ||
SENTRY_DSN = config('SENTRY_DSN', default="https://[email protected]/4508715634982912") | ||
sentry_sdk.init( | ||
dsn=SENTRY_DSN, | ||
integrations=[DjangoIntegration(), CeleryIntegration(monitor_beat_tasks=False)], | ||
|
@@ -411,7 +413,7 @@ | |
|
||
SLACK_CLIENT_ID = config('SLACK_CLIENT_ID', default='') | ||
SLACK_CLIENT_SECRET = config('SLACK_CLIENT_SECRET', default='') | ||
PROD_BACKEND_URL = config('PROD_BACKEND_URL', default='https://kubernetesguru-backend-api.getanteon.com') | ||
PROD_BACKEND_URL = config('PROD_BACKEND_URL', default='https://api.gurubase.io') | ||
|
||
|
||
API_CONCURRENCY_THROTTLE_RATE = config('API_CONCURRENCY_THROTTLE_RATE', default='10/m') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/gurubase-backend/backend/core/migrations/0029_merge_20250126_1945.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Generated by Django 4.2.18 on 2025-01-26 19:45 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0022_merge_0021_apikey_name_0021_merge_20250120_0950'), | ||
('core', '0028_alter_integration_unique_together'), | ||
] | ||
|
||
operations = [ | ||
] |
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters