Move .env file to config dir, change db path for improved project structure

* Change path of db and token to `data` which helps to sperate source
  code from data files like `tokens.json` & `spotify_scraped.db`
* Change path of `.env` `src/env/` to `config/` for the same reason as
  mentioned above
* Added the newly created files to `.gitigore` accordingly
This commit is contained in:
Chris Kiriakou
2025-03-21 18:57:13 +01:00
parent 2d4e951693
commit 38e0c69bea
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import requests
from auth import authenticate, simple_authenticate
from database_handler import Database, Table
db = Database('spotify_scraped.db')
db = Database('./data/spotify_scraped.db')
def scraping():