Skip to content

Commit

Permalink
Add introduction of salvo-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Oct 28, 2023
1 parent 75baeca commit 2439838
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ Salvo is an extremely simple and powerful Rust web backend framework. Only basic

## ⚡️ Quick Start
You can view samples [here](https://github.com/salvo-rs/salvo/tree/main/examples), or view [official website](https://salvo.rs).
### 🛠️ Salvo-cli
Salvo CLI is a command-line tool that simplifies the creation of new Salvo projects, supporting templates for web APIs, websites, databases (including SQLite, PostgreSQL, and MySQL via SQLx, SeaORM, Diesel, Rbatis), and basic middleware.
You can use [salvo-cli](https://github.com/salvo-rs/salvo-cli) to create a new Salvo project:
#### install
```bash
cargo install salvo-cli
```
#### create a new salvo project
```bash
salvo-cli new project_name
```
___

### Hello World with ACME and HTTP3

Expand Down
13 changes: 13 additions & 0 deletions README.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ Salvo(赛风) 是一个极其简单且功能强大的 Rust Web 后端框架. 仅

你可以查看[实例代码](https://github.com/salvo-rs/salvo/tree/main/examples), 或者访问[官网](https://salvo.rs).

### 🛠️ Salvo-cli
Salvo CLI是一个命令行工具,可以简化创建新的Salvo项目的过程,支持Web API、网站、数据库(包括通过SQLx、SeaORM、Diesel、Rbatis支持的SQLite、PostgreSQL、MySQL)和基本的中间件的模板。
你可以使用 [salvo-cli](https://github.com/salvo-rs/salvo-cli) 来创建一个新的 Salvo 项目:
#### 安装
```bash
cargo install salvo-cli
```
#### 创建一个salvo项目
```bash
salvo-cli new project_name
```
___

### Hello World with ACME and HTTP3

轻轻松松实现一个支持 ACME 自动获取证书的,支持 HTTP3 的服务器.
Expand Down
12 changes: 12 additions & 0 deletions README.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,19 @@ Salvo(賽風) 是一個極其簡單且功能強大的 Rust Web 後端框架. 僅
## ⚡️ 快速開始

你可以查看[實例代碼](https://github.com/salvo-rs/salvo/tree/main/examples), 或者訪問[官網](https://salvo.rs).
### 🛠️ Salvo-cli
Salvo CLI是一個命令行工具,可以簡化創建新的Salvo項目的過程,支援Web API、網站、資料庫(包括透過SQLx、SeaORM、Diesel、Rbatis支援的SQLite、PostgreSQL、MySQL)和基本的中介軟體的模板。
你可以使用 [salvo-cli](https://github.com/salvo-rs/salvo-cli) 来來創建一個新的 Salvo 項目:
#### 安裝
```bash
cargo install salvo-cli
```

#### 創建一個新的salvo項目
```bash
salvo-cli new project_name
```
___
### Hello World with ACME and HTTP3

輕輕鬆鬆實現一個支持 ACME 自動獲取證書的,支持 HTTP3 的服務器.
Expand Down

0 comments on commit 2439838

Please sign in to comment.