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
$ deis register https://dev.deis.io/ | |
username: gabrtv | |
password: | |
email: gabriel@opdemand.com | |
Registered gabrtv | |
Logged in as gabrtv | |
Found the following SSH public keys: | |
1) id_rsa.pub | |
2) deis_test.pub |
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
#!/bin/sh -e | |
# bootstrap application repository | |
cat > /tmp/bootstrap-app <<EOF | |
#!/bin/sh -e | |
git clone https://github.com/gabrtv/nodejs-sandbox.git app | |
cd app | |
npm install | |
EOF | |
chmod +x /tmp/bootstrap-app |
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
#!/bin/sh -e | |
# bootstrap application repository | |
cat > /tmp/bootstrap-app <<EOF | |
#!/bin/sh -e | |
git clone https://github.com/opdemand/c2-nodejs-helloworld.git app | |
cd app | |
npm install | |
EOF | |
chmod +x /tmp/bootstrap-app |
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
#!/bin/sh -e | |
# upgrade packages | |
sudo apt-get update && sudo apt-get dist-upgrade -y --force-yes | |
# upgrade node application | |
cat > /tmp/upgrade <<EOF | |
#!/bin/sh | |
cd app | |
git pull --rebase |
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
commit f3ba9767192780a0dd5f575f52abae8661a2143d | |
Author: gabrtv <gabriel@opdemand.com> | |
Date: Wed Oct 19 17:01:28 2011 -0600 | |
switch to sha-512 password hashing (aka the GPU instance defense) | |
diff --git a/c2core/crypto.py b/c2core/crypto.py | |
index 98c8711..fc9ad56 100644 | |
--- a/c2core/crypto.py | |
+++ b/c2core/crypto.py |
NewerOlder