Hi,
When it came time to push to Heroku (git push heroku master), I would get the compile timeout error like so:
! Timed out compiling Play 2.x - Java app (15 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
To g...@heroku.com:frozen-headland-4573.git
! [remote rejected] master -> master (pre-receive hook declined)
So I talked to Heroku support, and they said it's a known so they extended the compile timeout from 15 minutes to 30 minutes. After that, I tried 3 times, but that didn't help either:
! Timed out compiling Play 2.x - Java app (30 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
To g...@heroku.com:frozen-headland-4573.git
! [remote rejected] master -> master (pre-receive hook declined)
I talked to Heroku support again, and they said they are unable to extend the compile timeout further. They suggested to remove dependencies to improve compile time.
However, the only extra dependency I added was for PostgresSql (which was in the tutorial), and I am doubtful that will help.
What are my options at this point if I want to continue with Heroku?
What's a good alternative to Heroku in terms of a cloud service provider? Although Heroku's process is obviously flawed, I liked the idea of a 1-step deployment (just doing a git push to the Heroku server).
Also, should there be a message in the tutorial addressing this issue? I did a quick search on google/stackOverflow, and this compile timeout issue seems common enough.
Thanks,
Atif