mirror of
https://github.com/linux-do/new-api.git
synced 2026-02-10 23:24:24 +08:00
Add Telegram bot token and name
This commit is contained in:
17
makefile
Normal file
17
makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
FRONTEND_DIR = ./web
|
||||
BACKEND_DIR = .
|
||||
|
||||
.PHONY: all start-frontend start-backend
|
||||
|
||||
all: start-frontend start-backend
|
||||
|
||||
# 启动前端开发服务器
|
||||
start-frontend:
|
||||
@echo "Starting frontend dev server..."
|
||||
@cd $(FRONTEND_DIR) && npm start &
|
||||
|
||||
# 启动后端开发服务器
|
||||
start-backend:
|
||||
@echo "Starting backend dev server..."
|
||||
@cd $(BACKEND_DIR) && go run main.go &
|
||||
|
||||
Reference in New Issue
Block a user