Prepare for Heroku deployment

- Heroku will bind the app to $PORT

- Add parameter to API to be able to customize the background color of the svg

- Add parameter to API to be able to customize the border color of the svg

- Add SetUp.md section on how to customize your card with URL parameters

Update SetUp.md with a section on how to customize the card
This commit is contained in:
AlexandrosAlexiou
2021-12-03 23:50:52 +02:00
committed by Andrew Novac
parent 235e94efd4
commit 883abaca0c
11 changed files with 95 additions and 23 deletions

30
app.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "novatorem",
"description": "Realtime profile Readme displaying currently playing song on Spotify using the Spotify API.",
"scripts": {
"postdeploy": "gunicorn --workers=1 api.spotify:app"
},
"env": {
"SPOTIFY_CLIENT_ID": {
"required": true
},
"SPOTIFY_REFRESH_TOKEN": {
"required": true
},
"SPOTIFY_SECRET_ID": {
"required": true
}
},
"formation": {
"web": {
"quantity": 1
}
},
"addons": [],
"buildpacks": [
{
"url": "heroku/python"
}
],
"stack": "heroku-20"
}