2023-10-23 13:32:53 +00:00
|
|
|
#/bin/bash
|
2023-10-23 13:43:27 +00:00
|
|
|
rsync -av ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@194.182.190.208:~/backend
|
2023-10-23 13:32:53 +00:00
|
|
|
ssh ubuntu@194.182.190.208 'sudo systemctl restart backend'
|
2023-10-23 13:43:27 +00:00
|
|
|
rsync -av ./typescript/frontend-marios2/* ubuntu@194.182.190.208:~/frontend/
|
2023-10-23 13:32:53 +00:00
|
|
|
ssh ubuntu@194.182.190.208 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
|
|
|
|
ssh ubuntu@194.182.190.208 'sudo npm install -g serve'
|