mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 12:53:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			287 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			287 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# rely on `poetry` in path
							 | 
						||
| 
								 | 
							
								if ! command -v poetry &> /dev/null; then
							 | 
						||
| 
								 | 
							
								    echo "Installing Poetry ..."
							 | 
						||
| 
								 | 
							
								    pip install poetry
							 | 
						||
| 
								 | 
							
								fi
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# refreshing lockfile, updating locked versions
							 | 
						||
| 
								 | 
							
								poetry update -C api
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# check poetry.lock in sync with pyproject.toml
							 | 
						||
| 
								 | 
							
								poetry check -C api --lock
							 |