Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

jami1024/go-cron-web

Repository files navigation

go-cron-web

该项目是go-cron前端页面

Configure the backend service address

# 配置后端地址和端口
cat src/service/config/index.ts
...
if (import.meta.env.PROD) {
  BASE_URL = 'http://xxxxx'
} else {
  // 正确配置后端服务地址和端口
  BASE_URL = 'http://go-cron-server:8181'
}
...

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

docker

# 构建docker镜像
docker build -t go-cron-web:latest .

# 运行docker镜像
docker run -d -p 80:80 go-cron-web:latest 

About

定时任务前端页面

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •