feat(bash): adds bash script generators

This commit is contained in:
Tomasz Dłuski
2020-08-24 16:38:20 +02:00
parent f523307f56
commit 8a2da7aba9
3 changed files with 28 additions and 10 deletions

12
bashrc_install.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
source .env
echo "# MLFLOW CONFIG" >> ~/.bashrc
echo "export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" >> ~/.bashrc
echo "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" >> ~/.bashrc
echo "export MLFLOW_S3_ENDPOINT_URL=$MLFLOW_S3_ENDPOINT_URL" >> ~/.bashrc
echo "export MLFLOW_TRACKING_URI=$MLFLOW_TRACKING_URI" >> ~/.bashrc
echo "# END MLFLOW CONFIG" >> ~/.bashrc
echo "[ OK ] Successfully installed environment variables into your .bashrc!"