From 52c17932331f44bc40ddecdd41068c33098749a7 Mon Sep 17 00:00:00 2001 From: Patrik Braun Date: Thu, 20 Jul 2017 23:49:27 +0200 Subject: [PATCH] simplifying deployment --- .gitignore | 1 + .travis.yml | 3 --- README.md | 1 - package.json | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c432f3ef..d296c653 100644 --- a/.gitignore +++ b/.gitignore @@ -17,5 +17,6 @@ test/e2e/**/*.js.map demo/TEMP/ config.json users.db +sqlite.db dist/ release/ diff --git a/.travis.yml b/.travis.yml index ddf31572..8592802a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,3 @@ deploy: cache: directories: - node_modules -script: -- npm run build -- npm test diff --git a/README.md b/README.md index 23fa3040..f5b9fcba 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,6 @@ wget https://github.com/bpatrik/pigallery2/archive/master.zip unzip master.zip cd pigallery2 # enter the unzipped directory npm install -npm run build #explicitly building the project (releases are prebuilt) ``` ### Run PiGallery2 diff --git a/package.json b/package.json index 7c2f356e..92f3c303 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "main": "./backend/index.js", "bin": "./backend/index.js", "scripts": { - "build": "tsc && ng build", + "install": "tsc && ng build", "build-release": "gulp", "pretest": "tsc", "test": "ng test --single-run && mocha --recursive test/backend/unit",