-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from d3b-center/feature/add-dev-onboarding
- Loading branch information
Showing
4 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -e | ||
echo " | ||
# _____ ____ _ _ _ | ||
# | __ \ / __ \ | | | (_) | ||
# | | | | _____ _ | | | |_ __ | |__ ___ __ _ _ __ __| |_ _ __ __ _ | ||
# | | | |/ _ \ \ / | | | | '_ \| '_ \ / _ \ / _ | __/ _| | _ \ / _ | | | ||
# | |__| | __/\ V / | |__| | | | | |_) | (_) | (_| | | | (_| | | | | | (_| | | ||
# |_____/ \___| \_/ \____/|_| |_|_.__/ \___/ \__,_|_| \__,_|_|_| |_|\__, | | ||
# __/ | | ||
# |___/ | ||
for Mac" | ||
echo "Install Sshuttle, ssm-tools, auth0-login" | ||
pip3 install sshuttle aws-ssm-tools auth0-login | ||
sshuttle --sudoers | ||
echo "Install Hub from GitHub" | ||
brew install hub | ||
echo "Install AWSCLI" | ||
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" | ||
sudo installer -pkg AWSCLIV2.pkg -target / | ||
rm -rf AWSCLIV2.pkg | ||
echo "Install AWS Session Manager" | ||
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/mac/sessionmanager-bundle.zip" -o "sessionmanager-bundle.zip" | ||
unzip sessionmanager-bundle.zip | ||
sudo ./sessionmanager-bundle/install -i /usr/local/sessionmanagerplugin -b /usr/local/bin/session-manager-plugin | ||
rm -rf sessionmanager-bundle.zip | ||
rm -rf sessionmanager-bundle | ||
if [ -z ~/.aws ]; then | ||
mkdir ~/.aws | ||
touch ~/.aws/credentials | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
set -e | ||
echo " | ||
# _____ ____ _ _ _ | ||
# | __ \ / __ \ | | | (_) | ||
# | | | | _____ _ | | | |_ __ | |__ ___ __ _ _ __ __| |_ _ __ __ _ | ||
# | | | |/ _ \ \ / | | | | '_ \| '_ \ / _ \ / _ | __/ _| | _ \ / _ | | | ||
# | |__| | __/\ V / | |__| | | | | |_) | (_) | (_| | | | (_| | | | | | (_| | | ||
# |_____/ \___| \_/ \____/|_| |_|_.__/ \___/ \__,_|_| \__,_|_|_| |_|\__, | | ||
# __/ | | ||
# |___/ | ||
for Ubuntu" | ||
echo "Install Sshuttle, ssm-tools, auth0-login" | ||
pip3 install sshuttle aws-ssm-tools auth0-login | ||
sshuttle --sudoers | ||
sudo apt install hub | ||
echo "Install AWSCLI" | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
unzip awscliv2.zip | ||
rm -rf ./awscliv2.zip | ||
sudo ./aws/install --update | ||
rm -rf ./aws | ||
echo "Install AWS Session Manager" | ||
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" | ||
sudo dpkg -i session-manager-plugin.deb | ||
rm -rf session-manager-plugin.deb | ||
if [ -z ~/.aws ]; then | ||
mkdir ~/.aws | ||
touch ~/.aws/credentials | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters