mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-06-16 12:15:30 +00:00
Updates
This commit is contained in:
@ -19,12 +19,6 @@ Install required system packages (as superuser).
|
||||
|
||||
First, install required system packages as per the [OS requirements](../intro#os-requirements).
|
||||
|
||||
Then, install the supervisor process manager:
|
||||
|
||||
```
|
||||
sudo apt-get install supervisor
|
||||
```
|
||||
|
||||
Next, install the system packages required for your particular database:
|
||||
|
||||
### MySQL
|
||||
@ -134,6 +128,10 @@ Edit the configuration file at `/home/inventree/src/InvenTree/config.yaml`.
|
||||
!!! warning "Configure Database"
|
||||
Ensure database settings are correctly configured in `config.yaml` before proceeding to the next step!
|
||||
|
||||
## Create Database
|
||||
|
||||
!!! todo "TODO"
|
||||
|
||||
# Development Server
|
||||
|
||||
The InvenTree development server is useful for testing and configuration - and it may be wholly sufficient for a small-scale installation.
|
||||
@ -159,6 +157,16 @@ inv server -a 192.168.120.1:8000
|
||||
!!! warning "Not For Production"
|
||||
It should be noted that the *development server* provided with django / InvenTree is probably not suitable for your production environment. Instead, use a proper web-server (such as Gunicorn, below).
|
||||
|
||||
## Install Supervisor
|
||||
|
||||
!!! todo "More details here"
|
||||
|
||||
Install the supervisor process manager:
|
||||
|
||||
```
|
||||
sudo apt-get install supervisor
|
||||
```
|
||||
|
||||
## Gunicorn
|
||||
|
||||
Following is a simple tutorial on serving InvenTree using [Gunicorn](https://gunicorn.org/). Gunicorn is a Python WSGI server which provides a multi-worker server which is well suited to handling multiple simultaneous requests. Gunicorn is a solid choice for a production server which is easy to configure and performs well in a multi-user environment.
|
||||
|
@ -36,11 +36,6 @@ Once the required packages are installed, the database configuration must be adj
|
||||
|
||||
As part of the previous *install* step, a configuration file (**config.yaml**) is created. The configuration file provides administrators control over various setup options without digging into the Django *settings.py* script. The default setup uses a local sqlite database with *DEBUG* mode enabled.
|
||||
|
||||
For further information on installation configuration, refer to the [Configuration](../config) section.
|
||||
|
||||
!!! warning "Configure Database"
|
||||
Ensure database settings are correctly configured in `config.yaml` before proceeding to the next step!
|
||||
|
||||
### Initialize Database
|
||||
|
||||
Once install settings are correctly configured (in *config.yaml*) run the initial setup script:
|
||||
|
Reference in New Issue
Block a user