Rocket/site/guide/quickstart.md

22 lines
701 B
Markdown
Raw Normal View History

# Quickstart
Rocket requires a recent nightly version of Rust. We recommend you use
[rustup](https://rustup.rs/) to install or configure such a version. If you
don't have Rust installed, the [getting started](/guide/getting-started) section
guides you through installing Rust.
## Running Examples
The absolute fastest way to start experimenting with Rocket is to clone the
Rocket repository and run the included examples in the `examples/` directory.
For instance, the following set of commands runs the `hello_world` example:
```sh
git clone https://github.com/SergioBenitez/rocket
cd rocket/examples/hello_world
cargo run
```
There are numerous examples. They can all be run with `cargo run`.