From 4ddf1910cc15a74a9602c90f5c9315ac7f7819e9 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Wed, 4 Jan 2017 10:48:46 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=20=D0=B4?= =?UTF-8?q?=D0=B5=D0=BF=D0=BB=D0=BE=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 deploy diff --git a/deploy b/deploy new file mode 100755 index 0000000..1777544 --- /dev/null +++ b/deploy @@ -0,0 +1,8 @@ +#!/bin/bash + +SOURCE_PATH="`dirname \"$0\"`" +cd "$SOURCE_PATH" +npm install +pw2 stop index.js +npm run build +pw2 start index.js