18 lines
340 B
Bash
18 lines
340 B
Bash
#!/usr/bin/env sh
|
|
|
|
set -x
|
|
npm run build
|
|
set +x
|
|
|
|
|
|
set -x
|
|
npm start &
|
|
sleep 1
|
|
echo $! > .pidfile
|
|
set +x
|
|
|
|
echo 'Maintenant...'
|
|
echo 'Visiter https://devops.dsp-archiwebo21-ad-ec-cb-mt.fr/ '
|
|
echo 'L_application tourne sur le docker jenkins sur via le port 3000 voici un ip a'
|
|
ip a
|
|
echo 'Pour fermer l_application a appuyer sur le bouton proced' |