Added .env example and updated readme

This commit is contained in:
2025-05-15 04:06:30 -05:00
parent e0b86dbc39
commit 19cd656028
3 changed files with 13 additions and 1 deletions

3
.env.example Normal file
View File

@ -0,0 +1,3 @@
DISCORD_TOKEN=
LASTFM_API_KEY=
DATABASE_URL=sqlite:watcat.db

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target /target
/.env /.env
/watcat.db

View File

@ -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 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 but your code sucks
------------------- -------------------
I'm trying, okay? 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)