mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
simplifying deployment
This commit is contained in:
parent
0618105857
commit
52c1793233
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,5 +17,6 @@ test/e2e/**/*.js.map
|
||||
demo/TEMP/
|
||||
config.json
|
||||
users.db
|
||||
sqlite.db
|
||||
dist/
|
||||
release/
|
||||
|
@ -13,6 +13,3 @@ deploy:
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
script:
|
||||
- npm run build
|
||||
- npm test
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user