mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
.github
InvenTree
ci
deploy
docker
Dockerfile
docker-compose.yml
gunicorn.conf.py
nginx.conf
start_dev_server.sh
start_prod_server.sh
start_worker.sh
images
.coveragerc
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE
README.md
crowdin.yml
requirements.txt
setup.cfg
tasks.py
14 lines
230 B
Bash
14 lines
230 B
Bash
#!/bin/sh
|
|
|
|
echo "Starting InvenTree worker..."
|
|
|
|
sleep 5
|
|
|
|
# Wait for the database to be ready
|
|
cd $INVENTREE_MNG_DIR
|
|
python manage.py wait_for_db
|
|
|
|
sleep 10
|
|
|
|
# Now we can launch the background worker process
|
|
python manage.py qcluster |