2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 18:45:40 +00:00

Installer CLI fix (#6049)

* Update heroku procfile

- Fix command to run on ubuntu 20.04
- Add "invoke" command (duplicate of "cli")

* Update docs for installer

* Fix typo

* Update root_commands.sh
This commit is contained in:
Oliver
2023-12-08 13:10:44 +11:00
committed by GitHub
parent ca909f9d5a
commit 5b5df279c0
4 changed files with 24 additions and 5 deletions

View File

@ -1,3 +1,8 @@
# Web process: gunicorn
web: env/bin/gunicorn --chdir $APP_HOME/InvenTree -c InvenTree/gunicorn.conf.py InvenTree.wsgi -b 0.0.0.0:$PORT
# Worker process: qcluster
worker: env/bin/python InvenTree/manage.py qcluster
cli: echo "" && . env/bin/activate && exec env/bin/python -m invoke
# Invoke commands
invoke: echo "" | echo "" && . env/bin/activate && invoke
# CLI: Provided for backwards compatibility
cli: echo "" | echo "" && . env/bin/activate && invoke