From a65f04b2d7c562cf5afcc260ecf2bb8da7d366e1 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 26 Jan 2015 15:15:23 +0100 Subject: [PATCH] new dist conf --- README.md | 2 +- dist.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41edc1f..54672d1 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ ##Installation * Clone the repo -* Edit your configuration file `dist/js/conf.js` * Expose the `dist` directory under a static file web server +* Rename dist/js/conf.example.json to conf.js if you want to change settings More information about the different installation methods (production, development, vagrant, docker...) can be found here http://taigaio.github.io/taiga-doc/dist/#_installation_guide. diff --git a/dist.js b/dist.js index 31a5dcf..4a15602 100644 --- a/dist.js +++ b/dist.js @@ -20,6 +20,10 @@ var action = (function cloneOrPull(){ }()) exec(action) + .then(function() { + //remove old tmp dist + return delAsync(local + '/dist'); + }) .then(function() { //compile taiga return exec('cd ' + local + ' && npm install && bower install && gulp deploy');