You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LinkList/dev.sh

25 lines
347 B

2 years ago
#!/usr/bin/env bash
set -e
2 years ago
source ./common.sh
2 years ago
function dev_frontend() {
2 years ago
prefix_stdout_stderr "${PURPLE}frontend: ${NC}"
cd ./frontend
npm run dev
}
function dev_backend() {
2 years ago
prefix_stdout_stderr "${CYAN}backend: ${NC}"
cd ./backend
source venv/bin/activate
python main.py
}
run_frontend_backend "dev_frontend" "dev_backend"