Hansimov's picture
:gem: [Feature] Codesandbox: Tasks configs
dd0dbb2
raw
history blame
497 Bytes
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Installing Dependencies",
"command": "pip install -r requirements.txt"
}
],
// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"run-api-service": {
"name": "Run API Service",
"command": "python -m apis.chat_api",
"runAtStart": true,
"preview": {
"port": 22222
}
}
}
}