forked from marklogic-community/slush-marklogic-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-generate-all.sh
executable file
·109 lines (71 loc) · 2.7 KB
/
test-generate-all.sh
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/bin/bash
HOST=ml9-ml1
USER=admin
PASS=admin
## SLUSH DEFAULT ##
if [ -d slush-default ]; then
cd slush-default
./ml local wipe
./ml local restart
cd ..
rm -rf slush-default
fi
gulp --gulpfile=slushfile.js --app-name=slush-default --theme=default --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8040 --node-port=8050 --guest-access=true --disallow-updates=true --appusers-only=true
cd slush-default
gulp build
./ml local bootstrap local deploy modules local deploy content local mlcp -options_file import-sample-data.options
cd ..
## SLUSH 3COLUMN ##
if [ -d slush-3column ]; then
cd slush-3column
./ml local wipe
./ml local restart
cd ..
rm -rf slush-3column
fi
gulp --gulpfile=slushfile.js --app-name=slush-3column --theme=3column --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8041 --node-port=8051 --guest-access=true --disallow-updates=true --appusers-only=true
cd slush-3column
gulp build
./ml local bootstrap local deploy modules local deploy content local mlcp -options_file import-sample-data.options
cd ..
## SLUSH DASHBOARD ##
if [ -d slush-dashboard ]; then
cd slush-dashboard
./ml local wipe
./ml local restart
cd ..
rm -rf slush-dashboard
fi
gulp --gulpfile=slushfile.js --app-name=slush-dashboard --theme=dashboard --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8042 --node-port=8052 --guest-access=true --disallow-updates=true --appusers-only=true
cd slush-dashboard
gulp build
./ml local bootstrap local deploy modules local deploy content local mlcp -options_file import-sample-data.options
cd ..
## SLUSH MAP ##
if [ -d slush-map ]; then
cd slush-map
./ml local wipe
./ml local restart
cd ..
rm -rf slush-map
fi
gulp --gulpfile=slushfile.js --app-name=slush-map --theme=map --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8043 --node-port=8053 --guest-access=true --disallow-updates=true --appusers-only=true
cd slush-map
gulp build
./ml local bootstrap local deploy modules local deploy content local mlcp -options_file import-sample-data.options
cd ..
## SLUSH CARDS ##
if [ -d slush-cards ]; then
cd slush-cards
./ml local wipe
./ml local restart
cd ..
rm -rf slush-cards
fi
gulp --gulpfile=slushfile.js --app-name=slush-cards --theme=cards --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8044 --node-port=8054 --guest-access=true --disallow-updates=true --appusers-only=true
cd slush-cards
gulp build
./ml local bootstrap local deploy modules local deploy content local mlcp -options_file import-sample-data.options
cd ..
####
echo Done