Skip to content
FilloaBotPublic

About

A really simple api used for development of the filloabot-rs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

dumb-api

A really simple api used for development of the filloabot-rs

🔧 Deploy it

🐳 Docker (Recommended)

This is the quick way to run this standalone:

docker run -d --name filloabot-rs-dumb-api -v (pwd)/references.json:/app/references.json:ro -p 8080:5000 ghcr.io/filloabot/dumb-api:latest

If you want to run it together with the filloabot-rs, there is a docker compose in it's repo

Environment Variables

Name Description
REFERENCES_FILE Path to the references JSON file which will be served to the filloabot-rs (no matter which guild it requests)

Build the image

git clone https://github.com/FilloaBot/dumb-api.git
cd dumb-api
docker build -t filloabot-rs-dumb-api .

💪🏻 Without Docker

You probably knew how to do this already.

git clone https://github.com/FilloaBot/dumb-api.git
cd dumb-api
python3 main.py

About

A really simple api used for development of the filloabot-rs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages