Last active
December 16, 2015 00:49
-
-
Save AlainODea/5350351 to your computer and use it in GitHub Desktop.
Setup script for Joyent CloudAPI on a SmartMachine
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
if [ ! "$SSH_AUTH_SOCK" ]; then | |
eval $(ssh-agent) | |
ssh-add "$SDC_CLI_IDENTITY" | |
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
export SDC_CLI_URL=https://api.joyentcloud.com/ | |
export [email protected] | |
export SDC_CLI_KEY_ID=2125deb3-72f2-4639-a2c2-97769742ead5 | |
export SDC_CLI_IDENTITY=/root/.ssh/2125deb3-72f2-4639-a2c2-97769742ead5 |
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
pkgin update | |
pkgin upgrade | |
pkgin install build-essential | |
npm install smartdc -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment