Add dev command to run in native envs. - #3488
Conversation
|
I'm not clear on how this pull request solves your two problems here. For the first problem, looks like you want to fix paver's I'm not sure what's going on with your second problem -- sounds like the second process is killing the first process. Can you track down what's causing that? Either way, I don't think that adding another paver task is the right solution to this problem. |
|
This PR solves 3rd problem: allow run LMS and Studio in dev env. 2nd problem - have no idea how I can track it down. |
|
@auraz instead of creating a new paver task, can you modify the existing |
|
@singingwolfboy Done, please continue review. |
|
Rather than
You could also make the |
|
makes sense. |
|
Except the last one: default worker is 'dev_with_worker' which is not suit for local env. For local env, default worker should be 'celery' |
|
@singingwolfboy please continue review |
|
Looks great! 👍 |
Add dev command to run in native envs.
I have some issues with paver, local Mac OS dev env.
paver run_all_servers --settings=dev --worker_settings=celery
Ctrl-C
and
paver run_all_servers --settings=dev --worker_settings=celery
second time
I got
paver studio --settings=dev
and in second terminal window I do
paver lms --settings=cms.dev
In 1st terminal process is aborted with next message:
And vice versa.
@singingwolfboy please review.