start new:
tmux
start new with session name:
tmux new -s myname
{ | |
"name": "Push Testing", | |
"plans": [ | |
{ | |
"name": "Single Server", | |
"description": "10 Server cluster with 1.6 million clients", | |
"steps": [ | |
{ | |
"name": "Test Cluster", | |
"instance_count": 10, |
[alias] | |
st = status | |
ci = commit | |
cl = clone | |
br = branch | |
co = checkout | |
df = diff | |
dc = diff --cached | |
who = shortlog -s -- | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
#--------------------------- | |
# INSTALL AUTOPUSH | |
#--------------------------- | |
# read this and weep bitter tears of ANGST: | |
http://autopush.readthedocs.org/en/latest/ | |
# OSX only | |
export ARCHFLAGS="-arch x86_64" |
"demo-app-01_e2e-test_stage": { | |
"owner": "rpappalax", | |
"repo": "dummy-app-01", | |
"test_env": "stage", | |
"triggers": "* 0 * * *", | |
"dir": "tests" | |
}, | |
"demo-app-01_stack-check_stage": { | |
"owner": "rpappalax", | |
"repo": "dummy-app-01", |
DIR_HOST=/tmp | |
DIR_LOCAL=/tmp | |
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) $DIR_HOST ~/$DIR_LOCAL |
git cl https://github.com/mozilla-services/autopush autopush-osx | |
cd autopush-osx | |
virtualenv . | |
cd bin | |
./python --version | |
ln -s ./python pypy | |
cd .. | |
mkdir ddb | |
wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz | |
cd ddb && tar xzvf ../dynamodb_local_latest.tar.gz && cd .. |
{ | |
"name": "Push Testing", | |
"strategies": [ | |
{ | |
"name": "Single Server", | |
"description": "Single PushGo server, 2 sets of testers for peak of 200k connections.", | |
"container_sets": [ | |
{ | |
"name": "Test Cluster", | |
"instance_count": 1, |
#!/bin/bash | |
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ | |
# Install stuff # | |
################# | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel # gen'l reqs |
SimplePush - Examples source: https://gist.github.com/matzew/cbda360d72eaaef75971