Rocket/examples/todo
Sergio Benitez 2fec4209c9 Use FlashMessage in todo example. 2016-11-02 18:49:06 +01:00
..
db
migrations
src Use FlashMessage in todo example. 2016-11-02 18:49:06 +01:00
static Add `config::get()`, for global config access. Use it for `Template`. 2016-10-14 18:57:36 -07:00
Cargo.toml Update to upstream diesel. 2016-10-12 00:38:30 -07:00
README.md
Rocket.toml Add the [global] psuedo-environment for global configuration. 2016-10-31 17:00:32 +01:00
bootstrap.sh Cache Cargo in Travis. 2016-09-30 15:39:55 -07:00

README.md

Rocket Todo Example

Before running this example, you'll need to ensure there's a database file present. You can do this with Diesel.

Running migration with Diesel

Just run the following commands in your shell:

cargo install diesel_cli # installs the diesel CLI tools
DATABASE_URL=db/db.sql diesel migration run # create db/db.sql