ui / start.sh
purrbits's picture
Update start.sh
3ef1cc7 verified
raw
history blame contribute delete
284 Bytes
#!/bin/bash
set -e
# Kalau repo sudah ada, pull update
if [ -d "./Restfull-Api/.git" ]; then
cd Restfull-Api
git pull origin main
else
git clone https://github.com/synshin9/Restfull-Api.git
cd Restfull-Api
fi
# Install dependencies
npm install
# Jalankan aplikasi
npm start