Fix Install Jenkins
Some checks failed
Neutral/pipeline/head There was a failure building this commit
Some checks failed
Neutral/pipeline/head There was a failure building this commit
This commit is contained in:
20
script/neutral_deploy.sh
Normal file
20
script/neutral_deploy.sh
Normal file
@ -0,0 +1,20 @@
|
||||
echo "[Neutral-Deploy] - Stage - Déploiement - START "
|
||||
echo "[Neutral-Deploy] - Arrêt de Neutral : Processing"
|
||||
pm2 stop Neutral
|
||||
pm2 delete neutral
|
||||
echo "[Neutral-Deploy] - Arrêt de Neutral : Success"
|
||||
echo "[Neutral-Deploy] - Supression de Neutral : Processing"
|
||||
rm -rf ./neutral
|
||||
echo "[Neutral-Deploy] - Supression de Neutral : Success"
|
||||
echo "[Neutral-Deploy] - Installation de Neutral : Processing"
|
||||
git clone https://git.raphix.fr/infrastructure/neutral.git
|
||||
echo "[Neutral-Deploy] - Installation de Neutral : Success"
|
||||
echo "[Neutral-Deploy] - Installation des dépendances : Processing"
|
||||
cd ./neutral
|
||||
npm install
|
||||
echo "[Neutral-Deploy] - Installation des dépendances : Success"
|
||||
echo "[Neutral-Deploy] - Démarrage de Neutral : Processing"
|
||||
cd ..
|
||||
pm2 start neutral.config.js
|
||||
echo "[Neutral-Deploy] - Démarrage de Neutral : Success"
|
||||
echo "[Neutral-Deploy] - Stage - Déploiement - END"
|
Reference in New Issue
Block a user