| 
									
										
										
										
											2021-08-01 14:27:44 -07:00
										 |  |  | #!/bin/bash
 | 
					
						
							| 
									
										
										
										
											2021-12-01 12:46:28 +05:30
										 |  |  | #  Copyright 2021 Collate | 
					
						
							|  |  |  | #  Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | #  you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | #  You may obtain a copy of the License at | 
					
						
							|  |  |  | #  http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | #  Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | #  distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | #  See the License for the specific language governing permissions and | 
					
						
							|  |  |  | #  limitations under the License. | 
					
						
							| 
									
										
										
										
											2021-08-01 14:27:44 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-31 21:30:24 +02:00
										 |  |  | echo "Initializing OpenMetadata Server..."; | 
					
						
							| 
									
										
										
										
											2021-10-09 23:28:33 +05:30
										 |  |  | cd /openmetadata-*/ | 
					
						
							| 
									
										
										
										
											2022-08-31 21:30:24 +02:00
										 |  |  | echo "Migrating the database to the latest version and the indexes in ElasticSearch..."; | 
					
						
							| 
									
										
										
										
											2021-12-16 20:56:58 -08:00
										 |  |  | ./bootstrap/bootstrap_storage.sh migrate-all | 
					
						
							| 
									
										
										
										
											2022-08-31 21:30:24 +02:00
										 |  |  | echo "    ||||||| " | 
					
						
							|  |  |  | echo "  ||||   ||||      ____ " | 
					
						
							|  |  |  | echo " ||||     ||||    / __ \ " | 
					
						
							|  |  |  | echo " ||||     ||||   | |  | | _ __    ___  _ __ " | 
					
						
							|  |  |  | echo " |||||   |||||   | |  | || '_ \  / _ \| '_ \ " | 
					
						
							|  |  |  | echo " |||||||||||||   | |__| || |_) ||  __/| | | | " | 
					
						
							|  |  |  | echo " |||||||||||||    \____/ | .__/  \___||_| |_| " | 
					
						
							|  |  |  | echo " ||| ||||| |||    __  __ | |    _              _         _ " | 
					
						
							|  |  |  | echo " |||  |||  |||   |  \/  ||_|   | |            | |       | | " | 
					
						
							|  |  |  | echo " |||   |   |||   | \  / |  ___ | |_  __ _   __| |  __ _ | |_  __ _ " | 
					
						
							|  |  |  | echo " |||       |||   | |\/| | / _ \| __|/ _\` | / _\` | / _\` || __|/ _\` | " | 
					
						
							|  |  |  | echo " ||| || || |||   | |  | ||  __/| |_| (_| || (_| || (_| || |_| (_| | " | 
					
						
							|  |  |  | echo " ||| ||||| |||   |_|  |_| \___| \__|\__,_| \__,_| \__,_| \__|\__,_| " | 
					
						
							|  |  |  | echo "  ||||||||||| " | 
					
						
							|  |  |  | echo "    ||||||| " | 
					
						
							|  |  |  | echo "Starting OpenMetadata Server" | 
					
						
							| 
									
										
										
										
											2021-08-05 10:15:52 +05:30
										 |  |  | ./bin/openmetadata-server-start.sh conf/openmetadata.yaml | 
					
						
							| 
									
										
										
										
											2022-08-31 21:30:24 +02:00
										 |  |  | 
 |