-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·34 lines (23 loc) · 783 Bytes
/
install.sh
File metadata and controls
executable file
·34 lines (23 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
if [ ! -f "./BuildConfig.json" ]; then
npm update
cp BuildConfig.json.example BuildConfig.json
npm install -g github:phili67/i18next-extract-gettext
npm install i18next-conv -g
npm install --global strip-json-comments-cli
npm install grunt --save-dev
fi
#npm rebuild node-sass
# it's time to install all the node js files
#npm install --unsafe-perm --legacy-peer-deps --save .
# to run the installation
npm run install
cp node_modules/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js node_modules/bootstrap-datepicker/dist/locales/bootstrap-datepicker.nb.min.js
npm run postinstall
npm run orm-gen
npm run clean-datatables-lang-files
#npm run composer-update
chown -R www-data:www-data src
# install composer ...
cd src
composer i