I hereby claim:
- I am tiste on github.
- I am tiste (https://keybase.io/tiste) on keybase.
- I have a public key ASCtgkFUNUcgM77gjZxyU2KuDbrxuwX9qyJlNEsDXRKzdgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
g=git | |
ga='git add' | |
gaa='git add --all' | |
gb='git branch' | |
gba='git branch -a' | |
gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d' | |
gbnm='git branch --no-merged' | |
gbr='git branch --remote' | |
gc='git commit -v' | |
'gc!'='git commit -v --amend' |
{ | |
"apps": [{ | |
"name": "iwishit", | |
"script": "app.coffee", | |
"env_production": { | |
"NODE_ENV": "production" | |
} | |
}], | |
"deploy": { | |
"production" : { |
require('dotenv').load() | |
gulp = require('gulp') | |
runSequence = require('run-sequence') | |
clean = require('gulp-clean') | |
connect = require('gulp-connect') | |
modRewrite = require('connect-modrewrite') | |
sftp = require('gulp-sftp') | |
usemin = require('gulp-usemin') | |
jade = require('gulp-jade') |
function Module(foo, bar) { | |
this.foo = foo; | |
this.bar = bar; | |
} | |
Module.prototype.getData = function(fooFunc) { | |
if (!fooFunc || typeof fooFunc !== 'function') | |
return; | |
if (this.foo == '' || this.bar == '') { |
cap install
cap production deploy:check
cap production nginx:setup
cap production nginx:reload
cap production unicorn:setup_initializer
cap production unicorn:setup_app_config
Then cap production deploy
and on the server side (for the first time):