notes on script and add sample env
This commit is contained in:
		
							parent
							
								
									3626a2d7e6
								
							
						
					
					
						commit
						32c7895157
					
				
							
								
								
									
										8
									
								
								.env-sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.env-sample
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
user=db_user
 | 
			
		||||
password=db_pass
 | 
			
		||||
host=db_host
 | 
			
		||||
port=db_port
 | 
			
		||||
database=db_ubm
 | 
			
		||||
ssl=enable
 | 
			
		||||
wd=/home/pt/pivot_forecast/
 | 
			
		||||
nodeport=8082
 | 
			
		||||
@ -1,2 +1,4 @@
 | 
			
		||||
# execure the sql for baseline which builds the sql and inserts into a table
 | 
			
		||||
$PGD -f generate_sql/gen_baseline.sql
 | 
			
		||||
# pull the sql out of the table and write it to route directory
 | 
			
		||||
$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'baseline'" -t -A -o route_sql/baseline.sql
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user