2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Some warnings

This commit is contained in:
Oliver Walters 2020-11-12 13:51:48 +11:00
parent 253d14f634
commit c58e21b667
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@ To enable access to the InvenTree server from other computers on a local network
invoke 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).
## 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.

View File

@ -50,5 +50,5 @@ invoke import-records -f data.json
!!! info "Import Filename"
A different filename can be specified using the `-f` option
!!! info "Character Encoding"
!!! warning "Character Encoding"
If the character encoding of the data file does not exactly match the target database, the import operation may not succeed. In this case, some manual editing of the database JSON file may be required.