- Setup infrastructure - min: 1 lb, 2+2 servers, 1 Jenkins
- Setup/copy jenkins job to build site and push
- Setup SSL cert on LB
- Dev Vagrant VM: install jekyll
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
Content-Type: multipart/mixed; boundary=9021d370dd4927r43097g2 | |
--9021d370dd4927r43097g2 | |
Content-Type: application/json | |
<json data> | |
--9021d370dd4927r43097g2 | |
Content-Type: application/xml |
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
<?php | |
require 'vendor/autoload.php'; | |
use OpenCloud\Rackspace; | |
use OpenCloud\ObjectStore\Resource\DataObject; | |
// Create a client object to communicate with various Rackspace Cloud services. | |
$client = new Rackspace(Rackspace::UK_IDENTITY_ENDPOINT, array( | |
'username' => '<YOUR RACKSPACE CLOUD USERNAME HERE>', |
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
<?php | |
// Assumption: $container is an instance of OpenCloud\ObjectStore\Resource\Container | |
$filename = 'mugshot2.png'; | |
try { | |
// Try to retrieve the file, but only its headers to save | |
// bandwidth and time. |
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
heat_template_version: 2013-05-23 | |
description: | | |
This is a Heat template to deploy a Rackspace database instance | |
parameters: | |
# Database settings | |
db_instance_flavor: | |
description: Rackspace Cloud Database Flavor to determine amount of RAM |
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
<?php | |
require_once "cloudfiles.php"; | |
// Authenticate. | |
$cfAuth = new CF_Authentication("username", "api key"); | |
$cfAuth->authenticate(); | |
// Get connection. | |
$cfConn = new CF_Connection($cfAuth); |
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/bash | |
# | |
# This script builds the various parts of the site (Getting Started guides, | |
# blog, etc.) and combines them into a single directory, `site_html`. | |
# | |
PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
BUILD_DIR=/tmp/developer.rackspace.com | |
WORK_DIR=$BUILD_DIR/_work | |
TARGET_DIR=$PROJECT_ROOT/_site |
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/bash | |
# | |
# This script builds the various parts of the site (Getting Started guides, | |
# blog, etc.) and combines them into a single directory, `site_html`. | |
# | |
PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
BUILD_DIR=/tmp/developer.rackspace.com | |
WORK_DIR=$BUILD_DIR/_work | |
TARGET_DIR=$PROJECT_ROOT/_site |
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
### Keybase proof | |
I hereby claim: | |
* I am ycombinator on github. | |
* I am ycombinator (https://keybase.io/ycombinator) on keybase. | |
* I have a public key whose fingerprint is F27E EE58 3A6C 47F7 71C7 6C67 1A20 FA2E 1800 7828 | |
To claim this, I am signing this object: |
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
#cloud-config | |
users: | |
- name: admin | |
shell: /bin/bash | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLBKi3czWfLcWHx/HSv4ySf2Ity9McaEXcy0MnreT45MH++2+XU6xoyymH7T0bNoZ/yceQxisDml8EbG9YB2ppqHjwZzG2LbJgnre9ZtB6Srok2IfmKQv24nVp7oHKU8nESd8jdTkojpXZhkj0X4sCYDa3QTACWlimzaOjNi4cCihKT/MUMXTPLuvVyP3m0IwwbT23BRPeLwla+tJaN8spBU41QqiU0WQsfJei0cnZxDlzqSeLptfdg+QxasT4ZGUc5jOJxvz3b27J62UeAR4BF8lTKxPLdPdYPGt/G2PhkbwkQxCpCU/BAx5molMeGBz/Me2c4njnx1XBn2sLabjJ |
OlderNewer