Added .env example and updated readme
This commit is contained in:
3
.env.example
Normal file
3
.env.example
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DISCORD_TOKEN=
|
||||||
|
LASTFM_API_KEY=
|
||||||
|
DATABASE_URL=sqlite:watcat.db
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/target
|
/target
|
||||||
/.env
|
/.env
|
||||||
|
/watcat.db
|
||||||
|
|||||||
10
README.md
10
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
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user