mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-04 04:39:10 +00:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
		
			554 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			554 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								set -euxo pipefail
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
							 | 
						||
| 
								 | 
							
								cd "$DIR"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								python3 -m venv venv
							 | 
						||
| 
								 | 
							
								source venv/bin/activate
							 | 
						||
| 
								 | 
							
								pip install --upgrade pip wheel setuptools
							 | 
						||
| 
								 | 
							
								pip install -r requirements.txt
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								mkdir -p ~/.datahub/plugins/frontend/auth/
							 | 
						||
| 
								 | 
							
								echo "test_user:test_pass" >> ~/.datahub/plugins/frontend/auth/user.props
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								echo "DATAHUB_VERSION = $DATAHUB_VERSION"
							 | 
						||
| 
								 | 
							
								DATAHUB_TELEMETRY_ENABLED=false  \
							 | 
						||
| 
								 | 
							
								DOCKER_COMPOSE_BASE="file://$( dirname "$DIR" )" \
							 | 
						||
| 
								 | 
							
								datahub docker quickstart --standalone_consumers --dump-logs-on-failure
							 |