Last active
March 22, 2017 14:45
-
-
Save jarib/3d443c0fdd720f9f0835 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
git clone https://github.com/edsu/anon my-anon | |
cd my-anon | |
cp config.json.template config.json | |
read -p "Please add your config to $(pwd)/config.json, then press enter to continue" | |
heroku create | |
echo 'web: coffee anon.coffee' > Procfile | |
git add Procfile config.json | |
git commit -m "Added Procfile and config" | |
git push heroku master |
Trying to upgrade my instance of anon on heroku I also ran into the Error R10 (Boot timeout) issue.
Apart from making Procfile specify worker
I had to manually go to the heroku dashboard and set turn off the web
dyno and turn on the worker
dyno (since heroku ps:scale worker=1
) now triggers a question about credit cards.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same here with heroku. Apart from the fact that you are required to upgrade to cedar-14 from cedar-10, or else you can't push your code, you now get an
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
Being a beginner in coffee scripts, I can't find where and if I should assign a port.
Edit: Got it. When in Windows
echo 'web: coffee anon.coffee' > Procfile
adds the line in the Procfile with quotations. This means that it defaults tonpm start
, which creates a web worker. Removing the quotes and making Procfile readworker: coffee anon.coffee
allows you to runheroku ps:scale worker=1
and avoid the error.That still doesn't solve the dependency issue with
../node-icu-charset-detector.cpp:7:28: fatal error: unicode/ucsdet.h: No such file or directory
, but that doesn't seem to stop it from working.Now, I don't know how that would work with the new Dynos, since I'm not willing to test it, but if anyone has any ideas, that would be helpful.