Skip to content

FilloaBot/dumb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages