1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

simplifying deployment

This commit is contained in:
Patrik Braun 2017-07-20 23:49:27 +02:00
parent 0618105857
commit 52c1793233
4 changed files with 2 additions and 5 deletions

1
.gitignore vendored
View File

@ -17,5 +17,6 @@ test/e2e/**/*.js.map
demo/TEMP/
config.json
users.db
sqlite.db
dist/
release/

View File

@ -13,6 +13,3 @@ deploy:
cache:
directories:
- node_modules
script:
- npm run build
- npm test

View File

@ -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

View File

@ -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",