This file contains hidden or 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
| 'use strict'; | |
| var mongodb = require('mongodb'); | |
| var Q = require('q'); | |
| var databaseName = 'iwazatProduction'; | |
| var eventSlug = 'concordiaretreat2015'; | |
| var config = { | |
| EVENT_SLUG: eventSlug, |
This file contains hidden or 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 | |
| # set -eo pipefail | |
| export NODE_IP_ADDRESSES | |
| get-node-ips () { | |
| if [[ -n "${KUBERNETES_SERVICE_HOST}" ]]; then | |
| echo "Checking running db-nodes ..." | |
| SERVICE_IP=${KUBERNETES_SERVICE_HOST} | |
| SERVICE_PORT=${KUBERNETES_SERVICE_PORT} |
This file contains hidden or 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
| $ ionic start --appname egApp --id com.examples.egApp --sass egApp blank | |
| $ cd egApp | |
| $ git init | |
| $ git add . | |
| $ git commit -m "initial commit" | |
| $ cordova plugin add cordova-plugin-device --save | |
| $ git status |