mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env sh
 | 
						|
 | 
						|
TYPESCRIPT_SDK=/usr/src/open-api/typescript-sdk
 | 
						|
 | 
						|
if [ ! -d "$TYPESCRIPT_SDK/build" ]; then
 | 
						|
  echo "$TYPESCRIPT_SDK/build does not exist, building"
 | 
						|
  npm --prefix "$TYPESCRIPT_SDK" install
 | 
						|
  npm --prefix "$TYPESCRIPT_SDK" run build
 | 
						|
else
 | 
						|
  echo "$TYPESCRIPT_SDK/build exists, skipping"
 | 
						|
fi
 | 
						|
 | 
						|
node ./node_modules/.bin/vite dev --host 0.0.0.0 --port 3000
 |