Desi-Clans/scripts/dev-frontend.sh
2026-10-08 02:52:58 +05:30

10 lines
180 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT/frontend"
npm install
if [[ ! -f .env ]]; then
cp .env.example .env
fi
exec npm run dev