Files
Dorod-Sky/run_ui.sh

17 lines
261 B
Bash
Executable File

#!/bin/bash
pid=$(lsof -t -i :8080)
if [ ! -z "$pid" ]; then
kill $pid
fi
cd skyvern-frontend
if [ ! -f .env ]; then
cp .env.example .env
echo "[ERROR] Please add your api keys to the skyvern-frontend/.env file."
fi
npm install --silent
npm run start