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/
|
demo/TEMP/
|
||||||
config.json
|
config.json
|
||||||
users.db
|
users.db
|
||||||
|
sqlite.db
|
||||||
dist/
|
dist/
|
||||||
release/
|
release/
|
||||||
|
@ -13,6 +13,3 @@ deploy:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
script:
|
|
||||||
- npm run build
|
|
||||||
- npm test
|
|
||||||
|
@ -50,7 +50,6 @@ wget https://github.com/bpatrik/pigallery2/archive/master.zip
|
|||||||
unzip master.zip
|
unzip master.zip
|
||||||
cd pigallery2 # enter the unzipped directory
|
cd pigallery2 # enter the unzipped directory
|
||||||
npm install
|
npm install
|
||||||
npm run build #explicitly building the project (releases are prebuilt)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run PiGallery2
|
### Run PiGallery2
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"main": "./backend/index.js",
|
"main": "./backend/index.js",
|
||||||
"bin": "./backend/index.js",
|
"bin": "./backend/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc && ng build",
|
"install": "tsc && ng build",
|
||||||
"build-release": "gulp",
|
"build-release": "gulp",
|
||||||
"pretest": "tsc",
|
"pretest": "tsc",
|
||||||
"test": "ng test --single-run && mocha --recursive test/backend/unit",
|
"test": "ng test --single-run && mocha --recursive test/backend/unit",
|
||||||
|
Loading…
Reference in New Issue
Block a user