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

Fixes Install from source instructions

This commit is contained in:
Matthias Steinbauer 2020-01-01 18:29:44 +01:00 committed by GitHub
parent 9646da58f4
commit 4f76f7cd58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ wget https://github.com/bpatrik/pigallery2/archive/master.zip
unzip master.zip unzip master.zip
cd pigallery2-master # enter the unzipped directory cd pigallery2-master # enter the unzipped directory
npm install npm install
npm build npm run build
``` ```
**Note**: if you run `npm run create-release`, it creates a clean, minified, production ready version from the app in the `release` folder, that is ready to deploy. **Note**: if you run `npm run create-release`, it creates a clean, minified, production ready version from the app in the `release` folder, that is ready to deploy.
**Note2**: you can use `npm run create-release -- --languages=fr,ro` to restrict building to the listed languages (english is added by default) **Note2**: you can use `npm run create-release -- --languages=fr,ro` to restrict building to the listed languages (english is added by default)