Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add introduction of salvo-cli #467

Merged
merged 3 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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