2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00
Files
.github
InvenTree
ci
deploy
docker
Dockerfile
dev-config.env
docker-compose.dev.yml
docker-compose.yml
gunicorn.conf.py
nginx.conf
start_dev_server.sh
start_dev_worker.sh
start_prod_server.sh
start_prod_worker.sh
images
.coveragerc
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE
README.md
crowdin.yml
requirements.txt
setup.cfg
tasks.py
InvenTree/docker/start_dev_worker.sh
Oliver Walters 01328075ea All "development" related stuff now goes under ./dev
- Update dev-config.env
- Update docker-compose.dev.yml
- Development target of Dockerfile no longer creates any folders
- Update entry point scripts
2021-06-15 23:05:03 +10:00

20 lines
304 B
Bash

#!/bin/sh
echo "Starting InvenTree worker..."
cd $INVENTREE_HOME
# Activate virtual environment
source ./dev/env/bin/activate
sleep 5
# Wait for the database to be ready
cd InvenTree
python manage.py wait_for_db
sleep 10
# Now we can launch the background worker process
python manage.py qcluster