doc: remove diesel example
This commit is contained in:
parent
780e06695c
commit
cf03c58364
1 changed files with 2 additions and 42 deletions
|
@ -1,50 +1,10 @@
|
|||
# Diesel
|
||||
|
||||
This example shows how you can use itconfig with diesel.
|
||||
|
||||
### Usage
|
||||
|
||||
```bash
|
||||
cd examples/diesel
|
||||
|
||||
docker-compose -p itconfig-diesel-example -f docker-compose.example.yml up -d
|
||||
|
||||
diesel migration run
|
||||
|
||||
cargo run --example diesel
|
||||
```
|
||||
|
||||
# Hyper
|
||||
|
||||
This example shows how you can use itconfig with hyper server.
|
||||
|
||||
Example was taken from the [official hyper example].
|
||||
|
||||
[official hyper example]: https://github.com/hyperium/hyper/blob/master/examples/web_api.rs
|
||||
|
||||
### Usage
|
||||
# Hyper "hello world"
|
||||
|
||||
```bash
|
||||
cargo run --example hyper
|
||||
```
|
||||
|
||||
# Rocket
|
||||
|
||||
### Installation
|
||||
|
||||
To install a nightly version of Rust, we recommend using rustup. Install rustup
|
||||
by following the instructions on its website. Once rustup is installed,
|
||||
configure Rust nightly as your default toolchain by running the command:
|
||||
|
||||
`rustup default nightly`
|
||||
|
||||
If you prefer, once we setup a project directory in the following section, you
|
||||
can use per-directory overrides to use the nightly version only for your Rocket
|
||||
project by running the following command in the directory:
|
||||
|
||||
`rustup override set nightly`
|
||||
|
||||
### Usage
|
||||
# Rocket "hello world"
|
||||
|
||||
```bash
|
||||
cargo run --example roket
|
||||
|
|
Reference in a new issue