mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
7dd63b36da
- Single data volume now also includes 'static' files - InvenTree source repo is now cloned into /home/inventree (to match the "dev" image)
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 |