Rocket/site/guide/quickstart.md

701 B

Quickstart

Rocket requires a recent nightly version of Rust. We recommend you use rustup to install or configure such a version. If you don't have Rust installed, the 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:

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.