How Can I Run Two Scripts On Heroku?
I'm building a Dash Webapp, I have two Python scripts: one is the main Dash app and the other script is supposed to retrieve data. Since I can't 'merge' my two scripts on one, I de
Solution 1:
Check this. It says:
The quickest way maybe to list the commands to run, each followed by an
&
, with await -n
in the end, in theProcfile
, e.g.:
web: puma -C config/puma.rb & sidekiq & wait -n
Post a Comment for "How Can I Run Two Scripts On Heroku?"