Skip to content

一个使用rust实现的抽奖系统 ,A lottery system implemented using Rust

License

Notifications You must be signed in to change notification settings

easy-do/DrawPrize-RS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DrawPrize-RS

介绍 desc

一个使用rust实现的抽奖系统 ,A lottery system implemented using Rust

https://github.com/easy-do/DrawPrize-RS

https://gitee.com/yuzhanfeng/DrawPrize-RS

软件架构 Software architecture

Rust actix sea-orm nextjs arco design

开发 develop

  1. clone
  2. install rust | install nodejs >=18.x |
  3. start web : cd web | yarn install | yarn run dev | http://localhost:3000
  4. start api : cd rust-src | cargo build | cargo run main.rs | http://localhost:8080

编译 compile

  1. clone
  2. cd web | yarn run install | yarn run build | yarn run export
  3. cp out/* xxx/static
  4. cd ../rust-src | cargo build --release
  5. cp target/release/DrawPrize-RS xxx
  6. cd xxx
  7. ./DrawPrize-RS

使用说明 instructions

  1. http://localhost:8080/static/index.html
  2. admin / admin

About

一个使用rust实现的抽奖系统 ,A lottery system implemented using Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published