This is a project generated by salvo-cli. You can run the program and test
according to the following commands (for non-sqlite databases, please modify the database connection string first
according to the tutorial, and complete the initial work of the data).
😄 The latest version of Salvo requires Rust version 1.75. If your compilation fails, please try upgrading
with rustup update
.
//Run the project
cargo run
//Run tests
cargo test
You chose rbatis, please check the documentation here https://rbatis.github.io/rbatis.io/#/v4/
- Please execute the sql files under the data folder to initialize the data before running
docker build -t salvo_demo_rbatis .
#
docker images
docker compose up --build
docker compose up -d --force-recreate
https://docs.docker.com/language/rust/build-images/
docker init
You can view the salvo documentation and more examples at https://salvo.rs/ 📖. If our tools have helped you, please star salvo and salvo-cli, which will greatly encourage us. ❤️