mirror of
				https://github.com/inventree/inventree-docs.git
				synced 2025-11-04 14:35:38 +00:00 
			
		
		
		
	Merge pull request #31 from eeintech/reqs_weasyprint
Added notes about weasyprint system requirements
This commit is contained in:
		@@ -28,6 +28,8 @@ To install a complete *development* environment for InvenTree, follow the steps
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Installing and running InvenTree should be possible on most operating systems, as it requires only cross-platform Python libraries.
 | 
					Installing and running InvenTree should be possible on most operating systems, as it requires only cross-platform Python libraries.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					On some systems, the dependencies for the `weasyprint` package might not be installed. Consider running through the [weasyprint installation steps](https://weasyprint.readthedocs.io/en/stable/install.html) before moving forward.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Linux
 | 
					### Linux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The InvenTree documentation assumes that the operating system is a Linux variant. To install the required python packages to get started on a Linux system, run the following commands:
 | 
					The InvenTree documentation assumes that the operating system is a Linux variant. To install the required python packages to get started on a Linux system, run the following commands:
 | 
				
			||||||
@@ -179,6 +181,9 @@ Create an initial superuser (administrator) account for the InvenTree instance:
 | 
				
			|||||||
invoke superuser
 | 
					invoke superuser
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					!!! warning "Solving Cairo Errors"
 | 
				
			||||||
 | 
						In the case the above command returns errors with the `Cairo` package, it implies that dependencies for the `weasyprint` package are not installed on the system. To solve them, run through the [weasyprint installation steps](https://weasyprint.readthedocs.io/en/stable/install.html) then re-run `invoke install` and `invoke superuser`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Run Development Server
 | 
					### Run Development Server
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The InvenTree database is now setup and ready to run. A simple development server can be launched from the command line. 
 | 
					The InvenTree database is now setup and ready to run. A simple development server can be launched from the command line. 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user