Hi there I have been big admirer of Pycharm and has been using pycharm for 3 years but I want to run multiple combines tasks like in vscode link here.
here is the tasks.json file
{
"version": "2.0.0",
"tasks": [
{
"label": "pod deploy",
"type": "shell",
"command": "source venv/bin/activate && cd pod-deployment/ && python celery_app.py",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
// {
// "label": "audio asset process",
// "type": "shell",
// "command": "source venv/bin/activate && cd audio_asset_process/ && python celery_app.py",
// "problemMatcher": [],
// "group": {
// "kind": "build",
// "isDefault": true
// }
// },
{
"label": "ntp process",
"type": "shell",
"command": "source venv/bin/activate && cd ntp-process/ && python celery_app.py",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "render process",
"type": "shell",
"command": "source venv/bin/activate && cd render-video/ && python celery_app.py",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "callback process",
"type": "shell",
"command": "source venv/bin/activate && cd callback-process/ && python celery_app.py",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "run app",
"type": "shell",
"command": "source venv/bin/activate && cd pa-distributed/ && python main.py",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "run flower",
"type": "shell",
"command": "source venv/bin/activate && cd pa-distributed/ && celery -A main.celery_app flower",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
// {
// "label": "run debugger",
// "type": "shell",
// "command": "telnet localhost 6900",
// "problemMatcher": [],
// "group": {
// "kind": "build",
// "isDefault": true
// }
// },
{
"label": "render app local run",
"dependsOrder": "parallel",
// "dependsOn": ["pod deploy", "ntp process", "render process", "callback process", "run flower", "run app"]
"dependsOn": ["run app", "pod deploy", "ntp process", "render process", "callback process"]
// "dependsOn": ["run app", "ntp process", "render process", "callback process"]
}
]
}
In vscode I run this using ctrl+shift + p but i have no idea how to run paralley in pycharm any help will be helpful and guide me if any previous answers are there i did not saw any thanks