diff --git a/SchrodingersGat/inventree-brother-plugin.html b/SchrodingersGat/inventree-brother-plugin.html index 8d4ae1b9..6796f36e 100644 --- a/SchrodingersGat/inventree-brother-plugin.html +++ b/SchrodingersGat/inventree-brother-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Brother label printer plugin for InvenTree","headline":"Inventree Brother Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-brother-plugin"},"url":"/SchrodingersGat/inventree-brother-plugin"} diff --git a/SchrodingersGat/inventree-wireviz.html b/SchrodingersGat/inventree-wireviz.html index 4b9a2d18..56dc0a7a 100644 --- a/SchrodingersGat/inventree-wireviz.html +++ b/SchrodingersGat/inventree-wireviz.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Wireviz Extension for InvenTree","headline":"Inventree Wireviz","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-wireviz"},"url":"/SchrodingersGat/inventree-wireviz"} diff --git a/SergeoLacruz.html b/SergeoLacruz.html index bc890da6..47a42301 100644 --- a/SergeoLacruz.html +++ b/SergeoLacruz.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Hardware engineer in Germany and vintage fan.","headline":"Sergeolacruz","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz"},"url":"/SergeoLacruz"} diff --git a/SergeoLacruz/inventree-supplier-panel.html b/SergeoLacruz/inventree-supplier-panel.html index 9de46a43..ad0245fc 100644 --- a/SergeoLacruz/inventree-supplier-panel.html +++ b/SergeoLacruz/inventree-supplier-panel.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Create Mouser shopping cart from purchase order","headline":"Inventree Supplier Panel","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-supplier-panel"},"url":"/SergeoLacruz/inventree-supplier-panel"} diff --git a/SergeoLacruz/inventree-zebra-plugin.html b/SergeoLacruz/inventree-zebra-plugin.html index 5ede7d45..c3e3de7c 100644 --- a/SergeoLacruz/inventree-zebra-plugin.html +++ b/SergeoLacruz/inventree-zebra-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Zebra Label Printer Plugin for Inventree","headline":"Inventree Zebra Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-zebra-plugin"},"url":"/SergeoLacruz/inventree-zebra-plugin"} diff --git a/afkiwers/inventree-kicad.html b/afkiwers/inventree-kicad.html index 737ee975..33254a2f 100644 --- a/afkiwers/inventree-kicad.html +++ b/afkiwers/inventree-kicad.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"afkiwers"},"dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"KiCad Integration for InvenTree","headline":"Inventree Kicad","mainEntityOfPage":{"@type":"WebPage","@id":"/afkiwers/inventree-kicad"},"url":"/afkiwers/inventree-kicad"} diff --git a/afwkiers.html b/afwkiers.html index 58cddaa0..92b3db0b 100644 --- a/afwkiers.html +++ b/afwkiers.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"InvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.","headline":"Afwkiers","mainEntityOfPage":{"@type":"WebPage","@id":"/afwkiers"},"url":"/afwkiers"} diff --git a/assets/blog/docker-a-record.png b/assets/blog/docker-a-record.png new file mode 100644 index 00000000..fa937cce Binary files /dev/null and b/assets/blog/docker-a-record.png differ diff --git a/assets/blog/docker-access.png b/assets/blog/docker-access.png new file mode 100644 index 00000000..a067fa73 Binary files /dev/null and b/assets/blog/docker-access.png differ diff --git a/assets/blog/docker-compose-ps.png b/assets/blog/docker-compose-ps.png new file mode 100644 index 00000000..c7537680 Binary files /dev/null and b/assets/blog/docker-compose-ps.png differ diff --git a/assets/blog/docker-compose-up.png b/assets/blog/docker-compose-up.png new file mode 100644 index 00000000..95025151 Binary files /dev/null and b/assets/blog/docker-compose-up.png differ diff --git a/assets/blog/docker-droplet.png b/assets/blog/docker-droplet.png new file mode 100644 index 00000000..e52b0712 Binary files /dev/null and b/assets/blog/docker-droplet.png differ diff --git a/assets/blog/docker-env.png b/assets/blog/docker-env.png new file mode 100644 index 00000000..2dea0337 Binary files /dev/null and b/assets/blog/docker-env.png differ diff --git a/assets/blog/docker-in.png b/assets/blog/docker-in.png new file mode 100644 index 00000000..4c05ad63 Binary files /dev/null and b/assets/blog/docker-in.png differ diff --git a/assets/blog/docker-login.png b/assets/blog/docker-login.png new file mode 100644 index 00000000..974b4e76 Binary files /dev/null and b/assets/blog/docker-login.png differ diff --git a/assets/blog/docker-success.png b/assets/blog/docker-success.png new file mode 100644 index 00000000..7121ed47 Binary files /dev/null and b/assets/blog/docker-success.png differ diff --git a/assets/blog/world-map.png b/assets/blog/world-map.png index 6e4ac2e9..f0e86db7 100644 Binary files a/assets/blog/world-map.png and b/assets/blog/world-map.png differ diff --git a/blog.html b/blog.html index 0c09bdbe..badb7ecc 100644 --- a/blog.html +++ b/blog.html @@ -66,6 +66,16 @@ +
+

+ Docker Setup Guide +

+ In this post, we will run though a tutorial for setting up InvenTree in a Docker container. We are installing a stable version of InvenTree, which (at th... + 13 Mar 2024 | + +Oliver +
+

0.14.0 Stable Release diff --git a/blog/2024/03/13/docker.html b/blog/2024/03/13/docker.html new file mode 100644 index 00000000..3fb4f14e --- /dev/null +++ b/blog/2024/03/13/docker.html @@ -0,0 +1,422 @@ + + + + + + + + + + + + + + + + + +InvenTree - Docker Setup Guide + + + +Docker Setup Guide | InvenTree + + + + + + + + + + + + + + + + + + + +
+
+
+ + logo + InvenTree + + +
+ + + + +
+
+ + + go back + Back + + +
+ +
+

Docker Setup Guide

+

+ 13 Mar 2024 + + +Oliver +

+

In this post, we will run though a tutorial for setting up InvenTree in a Docker container. We are installing a stable version of InvenTree, which (at the time of posting) is version 0.14.2.

+ +

Digital Ocean

+ +

We will be using a Digital Ocean droplet to host our InvenTree installation. Digital Ocean provides a simple and cost-effective way to host web applications, and is a great choice for hosting InvenTree.

+ +

While we use Digital Ocean for this tutorial, the steps outlined here should be applicable to any cloud hosting provider.

+ +

Note: Digital Ocean is a sponsor of the InvenTree project, and provides hosting for our demo server. We are grateful to the Digital Ocean team for their ongoing support of the InvenTree project.

+ +

InvenTree in Docker

+ +

InvenTree can be run in a Docker container, which provides a simple and consistent way to run the application. This is the recommended way to run InvenTree in a production environment, without needing to worry about the complexities of setting up all the required software dependencies.

+ +

Our documentation server provides the following docker guides, which are a great starting point for anyone looking to run InvenTree in a Docker container:

+ +

Docker Basics

+ +

The Docker Basics guide provides a good introduction to how InvenTree works in Docker, and includes a lot of useful background information about Docker itself.

+ +

Docker Installation

+ +

The Docker Installation guide provides a step-by-step guide to setting up a production InvenTree installation using Docker / Docker Compose.

+ +

In this blog post, we will follow through the steps outlined in the Docker Installation guide, to get an InvenTree installation off the ground with minimal fuss.

+ +

Docker Setup Tutorial

+ +

Prerequisites

+ +

Before we start, you will need a Digital Ocean account. The following steps assume that you have created an account, and are logged in!

+ +

Also, if you are going to be using a custom domain name, you will need to have access to the domain name settings (e.g. via your domain registrar). This is outside the scope of this tutorial, but is required if you want to access InvenTree using a custom domain name.

+ +

Digital Ocean Droplet

+ +

First, we need to create a new Digital Ocean droplet. We will be using the Docker base image, which provides a simple and consistent environment for running Docker containers.

+ +

Create Droplet

+ +

Head to https://cloud.digitalocean.com/droplets and click the “Create Droplet” button.

+ +

Choose the server region which you would like to use, and select the “Docker” base image under “Marketplace”:

+ +

Docker Droplet

+ +

Then, click the “Create Droplet” button at the bottom of the screen.

+ +

Login to Droplet

+ +

After a few moments, the droplet will be created and ready for use. Select your newly created droplet, and navigate to the “Access” tab:

+ +

Droplet Access

+ +

You can login to the droplet using multiple methods. Here, for simplicity, we will use the online console window. Select the “Launch Droplet Console” button to open a new window.

+ +

You should now be logged into the new droplet, and see the following shell prompt:

+ +

Droplet Console

+ +

Droplet Setup

+ +

Before we start to setup InvenTree, we will create a new user account.

+ +

Create User

+ +

Create a new user account using the adduser command:

+ +
adduser inventree
+
+ +

(run through the prompts to create a new user account).

+ +

Add User to Docker Group

+ +

Add the new user to the docker group, so that they can run Docker commands:

+ +
usermod -aG docker inventree
+
+ +

Change to InvenTree User

+ +

Switch to the new user account:

+ +
su - inventree
+cd ~
+
+ +

You should now be logged in as the inventree user, and running from the /home/inventree/ directory.

+ +

Docker Setup

+ +

We will now grab the required setup files for the InvenTree Docker installation.

+ +

Download Files

+ +

The following files are required to setup InvenTree in Docker:

+ +
    +
  • +docker-compose.yml - the Docker Composer file which defines the InvenTree setup
  • +
  • +.env - the environment file which defines the InvenTree configuration
  • +
  • +Caddyfile - the Caddy web server configuration file
  • +
+ +

These files can be downloaded directly from our GitHub repository:

+ +
wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/docker-compose.yml
+wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/.env
+wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/Caddyfile
+
+ +

You should now have the three required files located in /home/inventree/

+ +

Configure Environment

+ +

Edit the .env file to configure the InvenTree environment. This file contains a number of settings which define the InvenTree installation.

+ +

Most of these settings can remain untouched. The only setting we are going to change for this installation is the INVENTREE_SITE_URL setting. This is the URL which InvenTree will be accessed from.

+ +

Note: You can adjust other settings in the *.env file now, if required. However, the defaults should be suitable for most installations, and certainly for this tutorial.*

+ +

In this example, we will set INVENTREE_SITE_URL to https://tutorial.inventree.org.

+ +

Environment File

+ +

InvenTree Setup

+ +

Now, we will start the InvenTree installation. Note that we are simply following the docker setup guide at this point!

+ +

Initial Database Setup

+ +

Run the following command to perform initial database setup:

+ +
docker compose run --rm inventree-server invoke update -s
+
+ +

This command will create the initial InvenTree database, and run required database migrations, which will take a few minute to complete.

+ +

Once the process is complete, you can proceed to the next step!

+ +

Start InvenTree Containers

+ +

The docker compose file defines the InvenTree setup, and sequences a number of containers which are required to run InvenTree. To start the InvenTree installation, run the following command:

+ +
docker compose up -d
+
+ +

This will start the InvenTree containers in the background, and you should see a number of messages as the containers are started:

+ +

Docker Compose

+ +

Note that you can view the status of the containers at any time using the following command:

+ +
docker compose ps
+
+ +

Docker Status

+ +

Access InvenTree

+ +

InvenTree should now be running, and ready to receive requests from the configured URL (in our case, https://tutorial.inventree.org).

+ +

However, we need to ensure that the URL is correctly configured to point to the Digital Ocean droplet!

+ +

Note: If you do not have a domain name, you can use the public IP address of the Digital Ocean droplet to access InvenTree. Just remember to set that IP address to the INVENTREE_SITE_URL setting in the *.env file.*

+ +

Add Domain

+ +

Navigate to https://cloud.digitalocean.com/networking/domains and add a new domain, which matches the INVENTREE_SITE_URL setting, and points to the public IP address of the Digital Ocean droplet.

+ +

For our setup, we only need to create a new A record (as the root domain and DNS has already been configured).

+ +

A Record

+ +

Chill Out

+ +

It may take a few minutes for the DNS changes to propagate. You can check the status of the DNS changes using a tool like https://dnschecker.org/.

+ +

Restart Caddy

+ +

Once the DNS changes have propagated, you may need to restart the Caddy web server to pick up the new domain name settings:

+ +
docker compose restart inventree-proxy
+
+ +

Access InvenTree

+ +

You should now be able to access InvenTree using the configured domain name (e.g. https://tutorial.inventree.org):

+ +

Success

+ +

Success! You have now setup InvenTree in a Docker container, and can access the application from the configured domain name.

+ +

But, we’re not done yet! We need to setup some initial data in the InvenTree installation.

+ +

Setup Data

+ +

The InvenTree installation is now running, but it is empty! We need to add some initial data to the system. We could create an admin user, add some parts, and setup some stock locations. But, let’s take a shortcut!

+ +

Demo Dataset

+ +

InvenTree provides a demo dataset which can be loaded into the system to provide some initial data. This dataset includes a number of parts, stock items, and other data which can be used to explore the InvenTree system.

+ +
docker compose run --rm inventree-server invoke setup-test -i
+
+ +

We should now be able to login to the InvenTree installation using the default admin user account:

+ +
    +
  • Username: admin +
  • +
  • Password: inventree +
  • +
+ +

We are in

+ +

And, now we are in! We have successfully setup InvenTree in a Docker container, and have loaded the demo dataset to explore the system.

+ +

Conclusions

+ +

In this tutorial, we have setup InvenTree in a Docker container, running on a Digital Ocean droplet. We have configured the InvenTree environment, and loaded the demo dataset to explore the system.

+ +

Cloud Provider

+ +

We have used Digital Ocean as our cloud provider, but the steps outlined here should be applicable to any cloud hosting provider - with some tweaking!

+ +

SSL Certificate

+ +

Caddy, the proxy server used in the InvenTree Docker setup, automatically configures SSL certificates using Let’s Encrypt. This means that your InvenTree installation is automatically secured using HTTPS (and you don’t need to worry about setting up SSL certificates).

+ +

Note: There are some caveats here, you should read the Caddy documentation!

+ +

Further Reading

+ +

This tutorial is a simple guide to getting InvenTree up and running in a Docker container. For more advanced usage, you should read the InvenTree Setup Guide guide, which provides a lot more detail about the InvenTree Docker setup.

+ +

Project Sponsorship

+ +

InvenTree is an open-source project, and is sponsored by a number of companies and individuals. We are grateful to the Digital Ocean team for their ongoing support of the InvenTree project!

+ +

If you would like to sponsor the InvenTree project, please refer to our contribution page for more information.

+ + +
+
+ +
+
+ +
+ + + diff --git a/blog/feed.atom b/blog/feed.atom index 900931a0..230b1cff 100644 --- a/blog/feed.atom +++ b/blog/feed.atom @@ -1,4 +1,243 @@ -Jekyll2024-03-13T00:56:07+00:00/blog/feed.atomInvenTreeInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.0.14.0 Stable Release2024-03-02T00:00:00+00:002024-03-02T00:00:00+00:00/blog/2024/03/02/0.14.0The InvenTree development team is very excited to announce the latest stable release of InvenTree - v0.14.0. With ith over 200 pull requests since the 0.13.0 stable release, this release once again represents a significant step forward for the project.

+Jekyll2024-03-13T11:35:47+00:00/blog/feed.atomInvenTreeInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.Docker Setup Guide2024-03-13T00:00:00+00:002024-03-13T00:00:00+00:00/blog/2024/03/13/dockerIn this post, we will run though a tutorial for setting up InvenTree in a Docker container. We are installing a stable version of InvenTree, which (at the time of posting) is version 0.14.2.

+ +

Digital Ocean

+ +

We will be using a Digital Ocean droplet to host our InvenTree installation. Digital Ocean provides a simple and cost-effective way to host web applications, and is a great choice for hosting InvenTree.

+ +

While we use Digital Ocean for this tutorial, the steps outlined here should be applicable to any cloud hosting provider.

+ +

Note: Digital Ocean is a sponsor of the InvenTree project, and provides hosting for our demo server. We are grateful to the Digital Ocean team for their ongoing support of the InvenTree project.

+ +

InvenTree in Docker

+ +

InvenTree can be run in a Docker container, which provides a simple and consistent way to run the application. This is the recommended way to run InvenTree in a production environment, without needing to worry about the complexities of setting up all the required software dependencies.

+ +

Our documentation server provides the following docker guides, which are a great starting point for anyone looking to run InvenTree in a Docker container:

+ +

Docker Basics

+ +

The Docker Basics guide provides a good introduction to how InvenTree works in Docker, and includes a lot of useful background information about Docker itself.

+ +

Docker Installation

+ +

The Docker Installation guide provides a step-by-step guide to setting up a production InvenTree installation using Docker / Docker Compose.

+ +

In this blog post, we will follow through the steps outlined in the Docker Installation guide, to get an InvenTree installation off the ground with minimal fuss.

+ +

Docker Setup Tutorial

+ +

Prerequisites

+ +

Before we start, you will need a Digital Ocean account. The following steps assume that you have created an account, and are logged in!

+ +

Also, if you are going to be using a custom domain name, you will need to have access to the domain name settings (e.g. via your domain registrar). This is outside the scope of this tutorial, but is required if you want to access InvenTree using a custom domain name.

+ +

Digital Ocean Droplet

+ +

First, we need to create a new Digital Ocean droplet. We will be using the Docker base image, which provides a simple and consistent environment for running Docker containers.

+ +

Create Droplet

+ +

Head to https://cloud.digitalocean.com/droplets and click the “Create Droplet” button.

+ +

Choose the server region which you would like to use, and select the “Docker” base image under “Marketplace”:

+ +

Docker Droplet

+ +

Then, click the “Create Droplet” button at the bottom of the screen.

+ +

Login to Droplet

+ +

After a few moments, the droplet will be created and ready for use. Select your newly created droplet, and navigate to the “Access” tab:

+ +

Droplet Access

+ +

You can login to the droplet using multiple methods. Here, for simplicity, we will use the online console window. Select the “Launch Droplet Console” button to open a new window.

+ +

You should now be logged into the new droplet, and see the following shell prompt:

+ +

Droplet Console

+ +

Droplet Setup

+ +

Before we start to setup InvenTree, we will create a new user account.

+ +

Create User

+ +

Create a new user account using the adduser command:

+ +
adduser inventree
+
+ +

(run through the prompts to create a new user account).

+ +

Add User to Docker Group

+ +

Add the new user to the docker group, so that they can run Docker commands:

+ +
usermod -aG docker inventree
+
+ +

Change to InvenTree User

+ +

Switch to the new user account:

+ +
su - inventree
+cd ~
+
+ +

You should now be logged in as the inventree user, and running from the /home/inventree/ directory.

+ +

Docker Setup

+ +

We will now grab the required setup files for the InvenTree Docker installation.

+ +

Download Files

+ +

The following files are required to setup InvenTree in Docker:

+ +
    +
  • docker-compose.yml - the Docker Composer file which defines the InvenTree setup
  • +
  • .env - the environment file which defines the InvenTree configuration
  • +
  • Caddyfile - the Caddy web server configuration file
  • +
+ +

These files can be downloaded directly from our GitHub repository:

+ +
wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/docker-compose.yml
+wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/.env
+wget https://raw.githubusercontent.com/inventree/InvenTree/master/docker/Caddyfile
+
+ +

You should now have the three required files located in /home/inventree/

+ +

Configure Environment

+ +

Edit the .env file to configure the InvenTree environment. This file contains a number of settings which define the InvenTree installation.

+ +

Most of these settings can remain untouched. The only setting we are going to change for this installation is the INVENTREE_SITE_URL setting. This is the URL which InvenTree will be accessed from.

+ +

Note: You can adjust other settings in the *.env file now, if required. However, the defaults should be suitable for most installations, and certainly for this tutorial.*

+ +

In this example, we will set INVENTREE_SITE_URL to https://tutorial.inventree.org.

+ +

Environment File

+ +

InvenTree Setup

+ +

Now, we will start the InvenTree installation. Note that we are simply following the docker setup guide at this point!

+ +

Initial Database Setup

+ +

Run the following command to perform initial database setup:

+ +
docker compose run --rm inventree-server invoke update -s
+
+ +

This command will create the initial InvenTree database, and run required database migrations, which will take a few minute to complete.

+ +

Once the process is complete, you can proceed to the next step!

+ +

Start InvenTree Containers

+ +

The docker compose file defines the InvenTree setup, and sequences a number of containers which are required to run InvenTree. To start the InvenTree installation, run the following command:

+ +
docker compose up -d
+
+ +

This will start the InvenTree containers in the background, and you should see a number of messages as the containers are started:

+ +

Docker Compose

+ +

Note that you can view the status of the containers at any time using the following command:

+ +
docker compose ps
+
+ +

Docker Status

+ +

Access InvenTree

+ +

InvenTree should now be running, and ready to receive requests from the configured URL (in our case, https://tutorial.inventree.org).

+ +

However, we need to ensure that the URL is correctly configured to point to the Digital Ocean droplet!

+ +

Note: If you do not have a domain name, you can use the public IP address of the Digital Ocean droplet to access InvenTree. Just remember to set that IP address to the INVENTREE_SITE_URL setting in the *.env file.*

+ +

Add Domain

+ +

Navigate to https://cloud.digitalocean.com/networking/domains and add a new domain, which matches the INVENTREE_SITE_URL setting, and points to the public IP address of the Digital Ocean droplet.

+ +

For our setup, we only need to create a new A record (as the root domain and DNS has already been configured).

+ +

A Record

+ +

Chill Out

+ +

It may take a few minutes for the DNS changes to propagate. You can check the status of the DNS changes using a tool like https://dnschecker.org/.

+ +

Restart Caddy

+ +

Once the DNS changes have propagated, you may need to restart the Caddy web server to pick up the new domain name settings:

+ +
docker compose restart inventree-proxy
+
+ +

Access InvenTree

+ +

You should now be able to access InvenTree using the configured domain name (e.g. https://tutorial.inventree.org):

+ +

Success

+ +

Success! You have now setup InvenTree in a Docker container, and can access the application from the configured domain name.

+ +

But, we’re not done yet! We need to setup some initial data in the InvenTree installation.

+ +

Setup Data

+ +

The InvenTree installation is now running, but it is empty! We need to add some initial data to the system. We could create an admin user, add some parts, and setup some stock locations. But, let’s take a shortcut!

+ +

Demo Dataset

+ +

InvenTree provides a demo dataset which can be loaded into the system to provide some initial data. This dataset includes a number of parts, stock items, and other data which can be used to explore the InvenTree system.

+ +
docker compose run --rm inventree-server invoke setup-test -i
+
+ +

We should now be able to login to the InvenTree installation using the default admin user account:

+ +
    +
  • Username: admin
  • +
  • Password: inventree
  • +
+ +

We are in

+ +

And, now we are in! We have successfully setup InvenTree in a Docker container, and have loaded the demo dataset to explore the system.

+ +

Conclusions

+ +

In this tutorial, we have setup InvenTree in a Docker container, running on a Digital Ocean droplet. We have configured the InvenTree environment, and loaded the demo dataset to explore the system.

+ +

Cloud Provider

+ +

We have used Digital Ocean as our cloud provider, but the steps outlined here should be applicable to any cloud hosting provider - with some tweaking!

+ +

SSL Certificate

+ +

Caddy, the proxy server used in the InvenTree Docker setup, automatically configures SSL certificates using Let’s Encrypt. This means that your InvenTree installation is automatically secured using HTTPS (and you don’t need to worry about setting up SSL certificates).

+ +

Note: There are some caveats here, you should read the Caddy documentation!

+ +

Further Reading

+ +

This tutorial is a simple guide to getting InvenTree up and running in a Docker container. For more advanced usage, you should read the InvenTree Setup Guide guide, which provides a lot more detail about the InvenTree Docker setup.

+ +

Project Sponsorship

+ +

InvenTree is an open-source project, and is sponsored by a number of companies and individuals. We are grateful to the Digital Ocean team for their ongoing support of the InvenTree project!

+ +

If you would like to sponsor the InvenTree project, please refer to our contribution page for more information.

]]>
SchrodingersGat
0.14.0 Stable Release2024-03-02T00:00:00+00:002024-03-02T00:00:00+00:00/blog/2024/03/02/0.14.0The InvenTree development team is very excited to announce the latest stable release of InvenTree - v0.14.0. With ith over 200 pull requests since the 0.13.0 stable release, this release once again represents a significant step forward for the project.

Breaking Changes

@@ -761,50 +1000,4 @@

Maintaining reliable infrastructure and hosting services is essential for ensuring the ongoing development and maintenance of the InvenTree project. Your support will help us cover the various ongoing costs associated with hosting.

-

To support InvenTree financially, please view the contribution page or contact our team for more information on how you can contribute. We extend our heartfelt gratitude to the entire InvenTree community for your ongoing support, contributions, and belief in the power of open-source software. Your involvement is invaluable, and we look forward to building a brighter future for InvenTree together.

]]>
SchrodingersGat
0.11.0 Stable Release2023-04-17T00:00:00+00:002023-04-17T00:00:00+00:00/blog/2023/04/17/0.11.0The InvenTree development team is proud to announce the 0.11.0 stable release!

- -

New Features

- -

We are thrilled to announce the latest stable release of Inventree, version 0.11.0, packed with exciting new features and improvements! This release has been made possible thanks to the hard work and dedication of our incredible community of contributors. With a wide range of new features, InvenTree 0.11.0 is a significant step forward in empowering businesses to streamline their inventory processes and optimize their workflows. We can’t wait for you to try it out!

- -

Return Orders

- -

The addition of Return Orders is a significant new feature, which allows users to easily process and manage returned items, whether they are due to customer refunds or defective products. With the ability to track the status of return orders and the associated inventory movements, businesses can better manage their inventory levels, reduce waste, and improve their customer service.

- -

Stocktake Reports

- -

Another great new feature in the latest release of InvenTree is the ability to generate detailed stocktake reports. This feature enables businesses to conduct accurate and efficient inventory audits by providing periodic information on stock levels, locations, and movements. With this feature, businesses can view historical inventory levels, providing data for improved decision-making. The stocktake report feature also allows for customizations such as filtering by location, category, or supplier, providing a tailored view of inventory levels to meet specific business needs. Overall, the ability to generate stocktake reports is a significant enhancement to InvenTree, enabling businesses to take control of their inventory management and streamline their operations.

- -

Improved Barcode Support

- -

The latest release provides improved barcode support, with the ability to generate barcodes for all order types, in addition to assigning custom barcodes.

- -

Report Templates

- -

InvenTree’s latest release includes improved report template functionality with better currency rendering support, enabling businesses to create professional and accurate reports. This feature allows for more detailed and customizable reports, including the ability to display currency symbols and automatically convert currency values to the appropriate format based on the user’s settings, saving time and effort.

- -

Refer to the reporting documentation for further details.

- -

Search Results

- -

Another feature of this release is the refactor and extension of the API search endpoint, adding new functionality such as regex and whole word search capabilities. With these improvements, users can conduct more powerful searches, returning more precise results and reducing the time and effort required to find the information they need.

- -

Bug Fixes

- -

Multiple bug fixes (ranging from minor to significant) have been implemented. Many of these bugs have been reported (and even fixed) by our users. Your feedback really helps improve the software and make it more useful for everyone!

- -

Translation Updates

- -

Our users have been working very hard to improve the translation support for the InvenTree software. The translation efforts are progressing really, well - check out the InvenTree project on crowdin. If you would like to see further work on the translation, or looking to see InvenTree translated into a new language, please consider contributing your time as a translator!

- -

Release Notes

- -

As always, the full set of release notes and changelogs is available on our GitHub Page.

- -

Python Bindings

- -

The InvenTree python bindings have also been updated - check out the release notes.

- -

Support InvenTree

- -

The InvenTree development team is committed to providing users with the best possible open source inventory management software. However, we rely on the support of our community to continue developing new features and improving our platform. If you find InvenTree valuable and want to support our ongoing development efforts, please consider making a financial contribution to help us continue developing the InvenTree software.

]]>
SchrodingersGat
\ No newline at end of file +

To support InvenTree financially, please view the contribution page or contact our team for more information on how you can contribute. We extend our heartfelt gratitude to the entire InvenTree community for your ongoing support, contributions, and belief in the power of open-source software. Your involvement is invaluable, and we look forward to building a brighter future for InvenTree together.

]]>
SchrodingersGat
\ No newline at end of file diff --git a/contribute.html b/contribute.html index 73ae5531..ce4b6bef 100644 --- a/contribute.html +++ b/contribute.html @@ -79,6 +79,7 @@

If you or your company uses InvenTree, please consider sponsoring the project to show your support. Sponsorships help to keep this project sustainable, and buys time for the core developers to commit to the project. A recurring or one off sponsorship is a great way to help InvenTree development to continue at full steam!

+ +

We are pleased to announce the 0.14.2 bug fix release, which represents a number of small bug fixes and stability improvements to the software

+ +]]>SchrodingersGat0.13.3 Release2024-01-22T00:00:00+00:002024-01-22T00:00:00+00:00/news/2024/01/22/0.13.30.13.3 Release

We are pleased to announce the 0.13.3 bug fix release, which represents a number of small bug fixes and stability improvements to the software

@@ -85,30 +91,4 @@

Credits

-

Thanks to @matmair for bringing the new website into existence

]]>
SchrodingersGat
We have news now!2022-04-23T00:00:00+00:002022-04-23T00:00:00+00:00/news/2022/04/23/news-are-startingNews!

- -

These news items will automatically show up for all admins in the homepage as the lowest category (starting with the next minor release 0.9.0). -If you do not want to see them there you can disable the function in your user-settings. There is also the option to disable news globally in the general server settings.

- -

But why?

-

The good news first: We will not spam you with this function daily.
-It is more of a tool to communicate with the power users and admins. There is wide array of reasons for the dev-team to want to communicate with you.
-For example when we

-
    -
  • are looking for inputs on new big, roadmap worthy FRs
  • -
  • want to show you a cool show-and-tell as an inspiration
  • -
  • have security advisories (please also follow releases - we always try to push new releases as fast as possible)
  • -
  • are planning to depreciate a function and want to gauge if there are still users
  • -
- -

How does it work?

-

Like the update-checks we are using the infrastructure GitHub provides.
-While the checks use the GitHub APIs, news are gathered from an RSS-feed that is served via GitHub Pages. The Jekyll-based website generates through a GitHub Action and then passes the static output to Pages, where it gets hosted for free (thank you GitHub) and delivered through CDNs worldwide. -On your InvenTree instance the background worker loads the RSS-feed on a regular basis and creates entries for the news items and notifications for all applicable users.

- -

And my data?

-

As listed above we are using GitHub pages for this feature. We are not introducing additional trackers to that so the general InvenTree privacy statement applies.
-The short version: we do not sell your data or share it with third parties. We cannot guarantee what readthedocs and GitHub do with the metrics. We might use them as a metric for the stats section of the site. However, we get very little actionable information from that, a screenshot of the total info available is shown below.

- -

Sample screenshot of the collected analytics -Sample screenshot of the collected analytics

]]>
matmair
\ No newline at end of file +

Thanks to @matmair for bringing the new website into existence

]]>SchrodingersGat \ No newline at end of file diff --git a/schrodingersgat.html b/schrodingersgat.html index 4a421e5f..1c02ab18 100644 --- a/schrodingersgat.html +++ b/schrodingersgat.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-03-13T11:35:47+00:00","datePublished":"2024-03-13T11:35:47+00:00","description":"Maintainer of InvenTree.","headline":"Schrodingersgat","mainEntityOfPage":{"@type":"WebPage","@id":"/schrodingersgat"},"url":"/schrodingersgat"} @@ -96,6 +96,9 @@

Posts