Skip to content

Commit c208392

Browse files
authored
Merge pull request #213 from Global-Tags/development
Release v1.6.3
2 parents 73a6ffa + 59e67df commit c208392

File tree

108 files changed

+1187
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1187
-582
lines changed

.github/ISSUE_TEMPLATE/1-feature_request.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2-bug_report.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/3-blank-issue.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: "📝 Blank issue"
3+
about: Create a new issue without a template (Staff only)
4+
5+
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3+
- name: Suggest a feature / Report a bug
4+
url: https://feedback.globaltags.xyz
5+
about: Tell us your feedback on fider.
36
- name: Read the documentation
47
url: https://docs.globaltags.xyz
58
about: Check out our documentation to understand our API better.

Dockerfile

Lines changed: 0 additions & 18 deletions
This file was deleted.

bun.lock

Lines changed: 81 additions & 22 deletions
Large diffs are not rendered by default.

compose.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/api/configuration-guide.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,8 @@ Environment variables configure essential application settings. Below is a detai
161161
162162
- **Entitlements (SKUs)**:
163163
- **`GT_DISCORD_BOT_ENTITLEMENTS_ENABLED`**: Enables SKU subscription logging.
164-
- **`GT_DISCORD_BOT_ENTITLEMENTS_CHANNEL`**: ID of the channel for entitlement logs.
164+
- **`GT_DISCORD_BOT_ENTITLEMENTS_CHANNEL`**: ID of the channel for entitlement logs.
165+
166+
- **Gift code logs**:
167+
- **`GT_DISCORD_BOT_GIFT_CODES_ENABLED`**: Enables notifications for gift code uses
168+
- **`GT_DISCORD_BOT_GIFT_CODES_CHANNEL`**: ID of the channel for gift code logs.

docs/api/self-hosting.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Self-hosting the GlobalTagsAPI
22

3-
## Run with bun (that rhymes)
4-
53
### 1. Clone the Repository
64

75
Start by cloning the repository to your local machine:
@@ -39,10 +37,10 @@ bun start
3937
bun i -g pm2 pm2-logrotate
4038

4139
# Start the daemon
42-
pm2 start "bun start" --name GlobalTagsAPI
40+
pm2 start src/index.ts --name GlobalTagsAPI --interpreter ~/.bun/bin/bun # Or wherever your bun executable is
4341
```
4442

45-
## Run with docker
43+
# Self-hosting the documentation
4644

4745
### 1. Clone the Repository
4846

@@ -53,16 +51,22 @@ git clone https://github.com/Global-Tags/API gtapi
5351
cd gtapi
5452
```
5553

56-
You can now edit your `.env` file and the configs in `./config`.
54+
### 2. Get into the virtualenv
55+
To get into the virtualenv you need python and pip installed.
5756

58-
### 2. Launching the API
59-
Then you can run the API:
6057
```bash
61-
# Using docker
62-
docker run --name gtapi -itd -p 5500:5500 -v ./config:/app/config -v ./icons:/app/icons rappytv/globaltagsapi:latest
58+
python -m venv .venv
6359

64-
# OR
60+
# Windows
61+
. ./.venv/bin/activate.bat
6562

66-
# Using docker compose
67-
docker compose up -d
63+
# Linux / macOS
64+
. ./.venv/bin/activate
6865
```
66+
67+
### 3. Install the dependencies and run mkdocs
68+
```bash
69+
pip install -r requirements.txt
70+
71+
mkdocs serve
72+
```

0 commit comments

Comments
 (0)