From 19cd656028bde989e596d25db24de5eb96c18ecd Mon Sep 17 00:00:00 2001 From: Seoxi Ryouko Date: Thu, 15 May 2025 04:06:30 -0500 Subject: [PATCH] Added .env example and updated readme --- .env.example | 3 +++ .gitignore | 1 + README.md | 10 +++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ae57049 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +DISCORD_TOKEN= +LASTFM_API_KEY= +DATABASE_URL=sqlite:watcat.db diff --git a/.gitignore b/.gitignore index 4f83806..c6c5ace 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target /.env +/watcat.db diff --git a/README.md b/README.md index a63b7b0..7f94a67 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,17 @@ why? cosmo relies on [imagetext-py](https://github.com/nathanielfernandes/imagetext-py), which either does not have a freebsd wheel or else uv cannot find it -also I'm a rust shill and python hater and just needed an excuse +~~also I'm a rust shill and python hater and just needed an excuse~~ but your code sucks ------------------- I'm trying, okay? + +running +------- + +populate .env with necessary values. a template .env.example is given + +create the database ``sqlx database create --database-url="sqlite:watcat.db"`` +(note: make sure you have sqlx installed first)