This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: couch-login externalisiert bzw. geschützt

  • Loading branch information...
barbalex committed Sep 11, 2014
1 parent eb1bbfa commit 653750efb9c420d49d3816f5df45490889ca5e61
Showing with 17 additions and 3 deletions.
  1. +4 −0 .couchpass.json
  2. +2 −1 .gitignore
  3. +11 −2 gulp-tasks/build_couchapp.js
View
@@ -0,0 +1,4 @@
{
"user": "barbalex",
"pass": "dLhdMg12"
}
View
@@ -1,4 +1,5 @@
/*.sublime-project
/*.sublime-workspace
/.idea
/EvabMobile.iml
/EvabMobile.iml
/.couchpass.json
@@ -1,6 +1,15 @@
'use strict';
var gulp = require('gulp'),
shell = require('gulp-shell');
shell = require('gulp-shell'),
pass_file = require('../.couchpass.json'),
user_name,
password,
request;
return gulp.task('build_couchapp', shell.task(['couchapp push http://barbalex:dLhdMg12@127.0.0.1:5984/evab']));
user_name = pass_file.user;
password = pass_file.pass;
request = 'couchapp push http://' + user_name + ':' + password + '@127.0.0.1:5984/evab';
return gulp.task('build_couchapp', shell.task([request]));

0 comments on commit 653750e

Please sign in to comment.