Closed giovannicassanelli-cell closed 4 years ago
The public API that I host is actually hosted on Heroku. I forgot to mention in the README that you can set the USERNAME
and PASSWORD
environment variables to your Spotify credentials.
Here are the commands I use to deploy it to Heroku:
wget https://github.com/evilarceus/sp-playcount-librespot/releases/download/v1.4/sp-playcount-librespot-v1.4.jar
heroku deploy:jar -a <heroku app name> "sp-playcount-librespot-v1.4.jar"
Or if you're compiling from source:
git clone https://github.com/evilarceus/sp-playcount-librespot
cd sp-playcount-librespot
mvn clean package
heroku deploy:jar -a <heroku app name> "core/target/librespot-core-jar-with-dependencies.jar"
In Heroku:
The public API that I host is actually hosted on Heroku. I forgot to mention in the README that you can set the
USERNAME
andPASSWORD
environment variables to your Spotify credentials.Here are the commands I use to deploy it to Heroku:
wget https://github.com/evilarceus/sp-playcount-librespot/releases/download/v1.4/sp-playcount-librespot-v1.4.jar heroku deploy:jar -a <heroku app name> "sp-playcount-librespot-v1.4.jar"
Or if you're compiling from source:
git clone https://github.com/evilarceus/sp-playcount-librespot cd sp-playcount-librespot mvn clean package heroku deploy:jar -a <heroku app name> "core/target/librespot-core-jar-with-dependencies.jar"
In Heroku:
IT CRASHED
Hey guys I was planning to host this amazing program on a server. I thought about Heroku, but I am struggling to deploy and start the program since I cannot find a way to inject the and while running the file.
Has anyone already done it and can help me ? Or suggest another host ?
Thanks in advance
Giovanni