spotify-token-swap-service
spotify-token-swap-service copied to clipboard
Build with Heroku button doesn't work
It doesn't build
I have same problem
The ruby gemfile requires a gem called that does not exist on github any longer:
gem "encrypted_strings", github: "better-forks/encrypted_strings"
There is a workaround using a cloned version of that repo called:
gem "encrypted_strings", github: "pluginaweek/encrypted_strings"
Create an account on Heroku and create an app. Then you open a terminal and run:
heroku login
This will open a browser and login to Heroku. After this clone heroku git repo:
heroku git:clone -a mindwalker
git add .
Then copy the spotify token swap service repository:
git clone https://github.com/bih/spotify-token-swap-service.git
cd spotify-token-swap-service/
Change this in Gemfile:
gem "encrypted_strings", github: "pluginaweek/encrypted_strings"
And change this in Gemfile.lock:
GIT
remote: git://github.com/pluginaweek/encrypted_strings.git
revision: a9bea6b48b910e24e762662d8816709100906756
specs:
encrypted_strings (0.3.3)
And commit which will build automatically:
$ git commit -am "initial commit"
$ git push heroku master
Same issue as of July 15. Will try the steps above.
After finishing the steps above this is my new result:
I am doing the following steps but am not able to finish as of the
git push heroku master
results in this error:
remote: ! No default language could be detected for this app. remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. remote: See https://devcenter.heroku.com/articles/buildpacks
I tried adding in the buildpack but I really don't understand how it would map out for an iOS App using objective-c. Any takes on this?
Upon trying to understand more, I did the following:
- I removed all objective-c code out as I may have misunderstood this.
- I finished the gem part where I change the string, and then I directly did this
bundle install --path vendor/bundle
to update the gemlock file as this is untouchable by my machine. - I went back into the repository I want to finish the
git push heroku master
with and I find that even if I add in the nodeJS buildpack, donpm init
to add in the package.json file that it prompts me for, I still get the following:
I may be misreading a step, or this solution no longer is working.
To circle back to this and help anyone else who was blocked like me, my colleague @timothy1ee was able to resolve this by forking this repo and applying the gem changes on the forked repo. I didn't realize that was what was asked from everyone else. Hope this unblocks anyone else who wants to use this! https://github.com/timothy1ee/spotify-token-swap-service is an example of a successful working deploy with heroku button.