diff --git a/contrib/deploy/supervisord.conf b/contrib/deploy/supervisord.conf index a480cba804..678cfe371e 100644 --- a/contrib/deploy/supervisord.conf +++ b/contrib/deploy/supervisord.conf @@ -23,7 +23,7 @@ port = 127.0.0.1:9001 ; InvenTree Web Server Process [program:inventree-server] user=inventree -directory=/home/inventree/src/InvenTree +directory=/home/inventree/src/src/backend/InvenTree command=/home/inventree/env/bin/gunicorn -c gunicorn.conf.py InvenTree.wsgi startsecs=10 autostart=true @@ -36,7 +36,7 @@ stdout_logfile=/home/inventree/log/server.out.log ; InvenTree Background Worker Process [program:inventree-cluster] user=inventree -directory=/home/inventree/src/InvenTree +directory=/home/inventree/src/src/backend/InvenTree command=/home/inventree/env/bin/python manage.py qcluster startsecs=10 autostart=true diff --git a/docs/docs/start/bare_prod.md b/docs/docs/start/bare_prod.md index b6a87bea60..db9e863788 100644 --- a/docs/docs/start/bare_prod.md +++ b/docs/docs/start/bare_prod.md @@ -75,6 +75,8 @@ Copy the supervisor configuration file: sudo cp /home/inventree/src/contrib/deploy/supervisord.conf /etc/supervisor/supervisord.conf ``` +Depending on your setup the IP and port under the `[inet_http_server]` section might need to be changed. + ### Start Supervisor Daemon ``` diff --git a/docs/docs/start/install.md b/docs/docs/start/install.md index 93e728ee4c..80e5eaba06 100644 --- a/docs/docs/start/install.md +++ b/docs/docs/start/install.md @@ -163,6 +163,14 @@ The PostgreSQL python binding must also be installed (into your virtual environm pip3 install psycopg pgcli ``` +#### Install Postgresql client + +If PostgreSQL and InvenTree are installed on separate servers / containers the PostgreSQL client has to be installed also where InvenTree is running. + +``` +sudo apt-get install postgresql-client +``` + ### MySQL / MariaDB #### Install Backend