Compare commits

...

6 Commits

Author SHA1 Message Date
f5490bd96a Replaced ubuntu-latest with ubuntu-24.04 and added pip cache
All checks were successful
Tests / test (3.10) (push) Successful in 41s
Tests / test (3.11) (push) Successful in 39s
Tests / test (3.9) (push) Successful in 38s
2025-01-10 11:28:18 +02:00
1c82c800e9 Merge pull request 'attr_list, start and deployment pages, more about public instance' (#4) from dev into main
All checks were successful
Tests / test (3.10) (push) Successful in 9s
Tests / test (3.11) (push) Successful in 9s
Tests / test (3.9) (push) Successful in 9s
Reviewed-on: #4
2024-05-26 15:29:28 +03:00
d4e8522687 Added more info about public instance
All checks were successful
Tests / test (3.10) (push) Successful in 11s
Tests / test (3.11) (push) Successful in 9s
Tests / test (3.9) (push) Successful in 9s
Tests / test (3.10) (pull_request) Successful in 9s
Tests / test (3.11) (pull_request) Successful in 8s
Tests / test (3.9) (pull_request) Successful in 9s
2024-05-26 14:27:12 +02:00
42d6eb312b Enabled attr_list 2024-05-26 14:26:50 +02:00
fc18deadf6 Merge pull request 'Added privacy policy and terms of service' (#3) from dev into main
All checks were successful
Tests / test (3.10) (push) Successful in 9s
Tests / test (3.11) (push) Successful in 9s
Tests / test (3.9) (push) Successful in 9s
Reviewed-on: #3
2024-05-14 21:08:57 +03:00
45bd718a1c Merge pull request 'Placeholders and README' (#2) from dev into main
All checks were successful
Tests / test (3.10) (push) Successful in 9s
Tests / test (3.11) (push) Successful in 9s
Tests / test (3.9) (push) Successful in 8s
Reviewed-on: #2
2024-05-14 00:43:12 +03:00
5 changed files with 33 additions and 6 deletions

View File

@@ -11,8 +11,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
container: catthehacker/ubuntu:act-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10", "3.11"] python-version: ["3.9", "3.10", "3.11"]
@@ -23,6 +22,7 @@ jobs:
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip'
env: env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies - name: Install dependencies

View File

@@ -1,3 +1,29 @@
# Public instance # Public instance
This section is under construction. There is a publicly available hosted version of the API and all clients.
## When to use public instance
You should use public instance if:
* You need garbage reminders for [Gemeinde Schmitten](https://www.schmitten.de){:target="_blank"}
* You need a stable bot and API versions with good uptime
* You want to contribute [locations](locations.md) and/or [entries](entries.md)
* You need community and developer [support](report.md)
You should **NOT** use public instance if:
* You want to modify the source code
* You have non-standard garbage types
* You want to add non-standardized locations
## Start using it
### API
* Endpoint: <https://api.garbagebot.eu>{:target="_blank"}
* Docs: [Swagger](https://api.garbagebot.eu/docs){:target="_blank"} / [Redoc](https://api.garbagebot.eu/redoc){:target="_blank"}
### Telegram Bot
* Link: <https://t.me/GarbageReminder_Bot>{:target="_blank"}

View File

@@ -6,6 +6,6 @@ We provide Telegram bot and raw HTTP for that now, but Discord bot and CLI are p
Here is how the "normal" deployment process looks like: Here is how the "normal" deployment process looks like:
1. Install the requirements [[API](api/installation.md#requirements)/[Telegram](bot_telegram/installation.md#requirements)] 1. Install the requirements [[API](api/installation.md#requirements)/[Telegram](bot_telegram/installation.md#requirements)]
2. Install the API server [[Guide](api/installation.md)] 2. Install the API server [[Guide](api/installation.md/#installation-process)]
3. Install the client/bot of your linking [[Telegram](bot_telegram/installation.md)] 3. Install the client/bot of your linking [[Telegram](bot_telegram/installation.md)]
4. Fill the API/bot with the data [[API](api/feeding-data.md)/[Telegram](bot_telegram/feeding-data.md)] 4. Fill the API/bot with the data [[API](api/feeding-data.md)/[Telegram](bot_telegram/feeding-data.md)]

View File

@@ -6,8 +6,8 @@ There are two common usage scenarios: using public instance and deploying your o
While limited in coverage, public instance offers the access to the latest stable version of the API and chat-bots. While limited in coverage, public instance offers the access to the latest stable version of the API and chat-bots.
* [Public API](https://api.garbagebot.eu) * [Public API](https://api.garbagebot.eu/redoc){:target="_blank"}
* [Public Telegram Bot](https://t.me/GarbageReminder_Bot) * [Public Telegram Bot](https://t.me/GarbageReminder_Bot){:target="_blank"}
You can find out more about public instance in the [Public instance](community/public/index.md) section. You can find out more about public instance in the [Public instance](community/public/index.md) section.

View File

@@ -101,6 +101,7 @@ theme:
icon: icon:
logo: logo logo: logo
markdown_extensions: markdown_extensions:
- attr_list
- pymdownx.details - pymdownx.details
- pymdownx.superfences - pymdownx.superfences
- pymdownx.tabbed: - pymdownx.tabbed: