mirror of
				https://github.com/inventree/inventree-docs.git
				synced 2025-11-04 06:25:39 +00:00 
			
		
		
		
	Fix changed order in installation setup
moved download sourve before python setup to be able to use the invoke command.
This commit is contained in:
		@@ -66,6 +66,24 @@ pkg install py37-wheel
 | 
			
		||||
pkg install py37-invoke
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Download Source Code
 | 
			
		||||
 | 
			
		||||
Download the InvenTree source code to a local directory. It is recommended to perform this step using git, as this allows the InvenTree installation to be easily updated to the latest version.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
git clone https://github.com/inventree/inventree/
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Alternatively, the source can be downloaded as a [.zip archive](https://github.com/inventree/InvenTree/archive/master.zip).
 | 
			
		||||
 | 
			
		||||
Once the source is downloaded, cd into the source directory:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
cd /path/to/inventree/
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
*(substitute /path/to/inventree/ with the directory where you have downloaded the source code)*.
 | 
			
		||||
 | 
			
		||||
## Python Setup
 | 
			
		||||
 | 
			
		||||
To install InvenTree you will need python3 (>3.6) installed, as well as PIP (the Python package manager), and the Invoke tool.
 | 
			
		||||
@@ -120,24 +138,6 @@ To display a list of the available configuration scripts, run the following comm
 | 
			
		||||
inv --list
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Download Source Code
 | 
			
		||||
 | 
			
		||||
Download the InvenTree source code to a local directory. It is recommended to perform this step using git, as this allows the InvenTree installation to be easily updated to the latest version.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
git clone https://github.com/inventree/inventree/
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Alternatively, the source can be downloaded as a [.zip archive](https://github.com/inventree/InvenTree/archive/master.zip).
 | 
			
		||||
 | 
			
		||||
Once the source is downloaded, cd into the source directory:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
cd /path/to/inventree/
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
*(substitute /path/to/inventree/ with the directory where you have downloaded the source code)*.
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
Now that the source code is downloaded (and optionally you have configured a Python virtual environment), the Python packages required to run InvenTree can be installed. InvenTree is a Python/Django application and relies on the pip package manager. All packages required to develop and test InvenTree are installed via pip. Package requirements can be found in ``requirements.txt``.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user