Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how run this app as a daemon on heroku? #13

Open
lastcat opened this issue Mar 5, 2015 · 1 comment
Open

how run this app as a daemon on heroku? #13

lastcat opened this issue Mar 5, 2015 · 1 comment

Comments

@lastcat
Copy link

lastcat commented Mar 5, 2015

hello,mirakui. I thnk this app is very interesting and want to run my retrobot on heroku.But i failed to it...(on a local machine, I succeeded)
my command and heroku's reaction as follows .

(after git push heroku master)
 % heroku run bin/retrobotctl start -- -c ./retrobot.yml 

Running `-c ./retrobot.yml bin/retrobotctl start` attached to terminal... up, run.7275
bash: - : invalid option
Usage:  bash [GNU long option] [option] ...
    bash [GNU long option] [option] script-file ...
GNU long options:
    --debug
    --debugger
    --dump-po-strings
    --dump-strings
    --help
    --init-file
    --login
    --noediting
    --noprofile
    --norc
    --posix
    --rcfile
    --restricted
    --verbose
    --version
Shell options:
    -ilrsD or -c command or -O shopt_option     (invocation only)
    -abefhkmnptuvxBCHP or -o option

 % heroku run "bin/retrobotctl start -- -c ./retrobot.yml"

Running `bin/retrobotctl start -- -c ./retrobot.yml` attached to terminal... up, run.5040
fatal: Not a git repository (or any parent up to mount point /app)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Probably,I think this isn't defficult problem.But I don't know how to solve.Can you teach me about it?

@sorah
Copy link
Contributor

sorah commented Mar 8, 2015

heroku run starts another kind of container, so it's separated with existing worker and web processes. Use Procfile and run retrobot directly is the correct way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants