@@ -6,35 +6,35 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
66cd  " $here " 
77
88docker-compose -f ./doc/docker-compose.yml pull
9- #   docker-compose -f ./doc/docker-compose.yml run doc-tests node index
10- #   EXIT=$?
11- #   docker-compose -f ./doc/docker-compose.yml down
9+ docker-compose -f ./doc/docker-compose.yml run doc-tests node index
10+ EXIT=$? 
11+ docker-compose -f ./doc/docker-compose.yml down
1212
1313docker-compose -f ./doc/docker-compose.yml up -d kuzzle
1414
15- #   until $(curl --output /dev/null --silent --head --fail http://localhost:7512); do
16- #     printf '.'
17- #     sleep 5
18- #   done
19- 
20- #   cd ${here}/../doc/7/getting-started/.react/with-redux
21- #   npm ci
22- #   SKIP_PREFLIGHT_CHECK=true npm run start &
23- #   until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
24- #     printf '.'
25- #     sleep 5
26- #   done
27- #   npm run test
28- #   kill $(lsof -t -i:3000)
29- 
30- #   cd ${here}/../doc/7/getting-started/.react/standalone
31- #   npm ci
32- #   SKIP_PREFLIGHT_CHECK=true npm run start &
33- #   until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
34- #     printf '.'
35- #     sleep 5
36- #   done
37- #   npm run test
15+ until  $( curl --output /dev/null --silent --head --fail http://localhost:7512) ;  do 
16+   printf  ' .' 
17+   sleep 5
18+ done 
19+ 
20+ cd  ${here} /../doc/7/getting-started/.react/with-redux
21+ npm ci
22+ SKIP_PREFLIGHT_CHECK=true npm run start & 
23+ until  $( curl --output /dev/null --silent --head --fail http://localhost:3000) ;  do 
24+   printf  ' .' 
25+   sleep 5
26+ done 
27+ npm run test 
28+ kill  $( lsof -t -i:3000) 
29+ 
30+ cd  ${here} /../doc/7/getting-started/.react/standalone
31+ npm ci
32+ SKIP_PREFLIGHT_CHECK=true npm run start & 
33+ until  $( curl --output /dev/null --silent --head --fail http://localhost:3000) ;  do 
34+   printf  ' .' 
35+   sleep 5
36+ done 
37+ npm run test 
3838
3939cd  ${here} /../doc/7/getting-started/.vuejs
4040npm ci
@@ -45,15 +45,15 @@ until $(curl --output /dev/null --silent --head --fail http://localhost:8080); d
4545done 
4646npm run test 
4747
48- #   cd ${here}/../doc/7/getting-started/.react-native
49- #  #  Here we use install instead of ci because expo-cli cannot be installed with ci
50- #   npm install
51- #   npm run web &
52- #   until $(curl --output /dev/null --silent --head --fail http://localhost:19006); do
53- #     printf '.'
54- #     sleep 5
55- #   done
56- #   npm run test
48+ cd  ${here} /../doc/7/getting-started/.react-native
49+ #  Here we use install instead of ci because expo-cli cannot be installed with ci
50+ npm install
51+ npm run web & 
52+ until  $( curl --output /dev/null --silent --head --fail http://localhost:19006) ;  do 
53+   printf  ' .' 
54+   sleep 5
55+ done 
56+ npm run test 
5757
5858cd  ${here} 
5959docker-compose -f ./doc/docker-compose.yml down
0 commit comments