From 73420efc2cf9c33739facd3609137bfcd2d56a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82uski?= Date: Mon, 24 Aug 2020 00:36:00 +0200 Subject: [PATCH] adds .env file --- .env | 10 ++++++++++ README.md | 17 +++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..3a79760 --- /dev/null +++ b/.env @@ -0,0 +1,10 @@ +AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE +AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY +AWS_REGION=us-east-1 +AWS_BUCKET_NAME=mlflow +MYSQL_DATABASE=mlflow +MYSQL_USER=mlflow_user +MYSQL_PASSWORD=mlflow_password +MYSQL_ROOT_PASSWORD=toor +MLFLOW_S3_ENDPOINT_URL=http://localhost:9000 +MLFLOW_TRACKING_URI=http://localhost:5000 \ No newline at end of file diff --git a/README.md b/README.md index 2567c72..e373150 100644 --- a/README.md +++ b/README.md @@ -68,12 +68,25 @@ export MLFLOW_S3_ENDPOINT_URL=http://localhost:9000 export MLFLOW_TRACKING_URI=http://localhost:5000 ``` -You can load them from the .env file like so +You can load them from the .env file. Create a `.env` file inside this repo folder and paste: +``` +AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE +AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY +AWS_REGION=us-east-1 +AWS_BUCKET_NAME=mlflow +MYSQL_DATABASE=mlflow +MYSQL_USER=mlflow_user +MYSQL_PASSWORD=mlflow_password +MYSQL_ROOT_PASSWORD=toor +MLFLOW_S3_ENDPOINT_URL=http://localhost:9000 +MLFLOW_TRACKING_URI=http://localhost:5000 +``` +Then run ```shell source .env ``` -or add them to the .bashrc file and then run +or add them as `export X=Y` to the .bashrc file and then run ```shell source ~/.bashrc