Skip to content

zhanglp0129/minimark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimark

小型超市商品管理系统

构建

  1. 克隆仓库
git clone git@github.com:zhanglp0129/minimark.git
  1. 进入项目目录
cd minimark
  1. 打包前端代码
cd web
npm i
npm run build
cd ..
  1. 编译后端代码

    • Linux
    go build -o minimark minimark/cmd/main
    • Windows
    go build -o minimark.exe minimark/cmd/main
  2. 创建数据库

-- 以下为sql语句,请在mysql或sqlserver终端运行
create database minimark;
  1. 编写配置文件

    • Linux
    cp config_sample.toml config.toml
    vim config.toml
    • Windows
    copy config_sample.toml config.toml
    notepad config.toml
  2. 运行

    • Linux
    ./minimark
    • Windows的cmd终端
    minimark
    • Windows的PowerShell终端
    ./minimark.exe

About

小型超市商品管理系统

Resources

Stars

Watchers

Forks

Packages

No packages published