mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-22 08:50:27 +00:00

* changed catalog to openmetadata in all the docs * changed README.md Co-authored-by: parthp2107 <parth.panchal@deuexsoultions.com>
2.2 KiB
2.2 KiB
description |
---|
This installation doc will help you start a OpenMetadata standalone instance on your local machine. |
Run Locally
{% hint style="success" %} This is a quick start guide that will show you how to quickly start a standalone server. {% endhint %}
Build from source or download the distribution
Prerequisites
{% hint style="info" %} OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
- Java 11 or above
- MySQL 8 or above {% endhint %}
{% tabs %} {% tab title="Build from source " %} Follow these steps to checkout code from Github and build OpenMetadata locally
{% hint style="info" %} Prerequisites
Install Apache Maven 3.6 or higher {% endhint %}
# checkout OpenMetadata
git clone https://github.com/open-metadata/OpenMetadata
cd OpenMetadata
# build OpenMetadata
mvn install package -DskipTests
# navigate to directory containing the setup scripts
cd dist/target/
unzip openmetadata-1.0.0-SNAPSHOT.zip
cd openmetadata-1.0.0-SNAPSHOT
{% endtab %}
{% tab title="Download the release" %} Download the latest binary release from OpenMetadata, Once you have the tar file,
# untar it
tar -zxvf openmetadata-1.0.0-SNAPSHOT.tar.gz
# navigate to directory containing the launcher scripts
cd openmetadata-1.0.0-SNAPSHOT
{% endtab %} {% endtabs %}
Install on your local machine
macOS
-
Setup Database
- Install MySQL
brew install mysql
-
Configure MySQL
mysqladmin -u root password 'yourpassword' mysql -u root -p
-
Setup Database
mysql -u root -p CREATE DATABASE openmetadata_db; CREATE USER 'openmetadata_user'@'localhost' IDENTIFIED BY 'openmetadata_password'; GRANT ALL PRIVILEGES ON openmetadata_db.* TO 'openmetadata_user'@'localhost' WITH GRANT OPTION; commit;
-
Run bootstrap scripts to initiate the database and tables
cd $METADATA_HOME ./boostrap/bootstrap-storage.sh migrate
-
Start the OpenMetadata Server
./bin/openmetadata.sh start