How to run heroku local on "run" tab

I'm trying to run "heroku local web" and "heroku local worker" on the run tab in pycharm but have been unsuccessful.

I tried to execute it as a shell script with "/bin/bash /snap/bin/heroku local web" but i just get "Cannot execute binary file".
If i run "/bin/bash -c /snap/bin/heroku local web" it runs heroku but wont accept the "local web" paremeters.

0
3 comments

Hello, 

 

Perhaps running /bin/bash -c /snap/bin/`heroku local web` should do the trick? (take the fine name in quotes)

Please let me know if you have any questions. 

 

 

 

0
Avatar
Permanently deleted user

No unfortunately not, " /snap/bin/" wont work as the "script path" as it is a directory and the IDE doesn't allow me to put quotes in the script path either.

0

Could you please attach a couple of screenshots? 

0

Please sign in to leave a comment.