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
#!/usr/bin/env bash | |
# You must have sudo ability on your machine | |
machine=${1:-"default"} | |
if [[ ! $(docker-machine ls | grep ${machine}) ]]; then | |
echo "${machine} is not a docker-machine" | |
exit 1 | |
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
/* sites.js */ | |
var | |
mongoose = require('mongoose') | |
, Schema = mongoose.Schema | |
, update = require('./updates') | |
; | |
//Define the site model | |
var siteSchema = new Schema({ | |
client: String, |