Rocket/examples/todo
Sergio Benitez 0be423a35e Updated dependency versions. 2016-12-09 20:14:49 -08:00
..
db Fully working todo example. Apparently didn't commit in a while. Need to be better at that. 2016-08-01 19:07:36 -07:00
migrations Fully working todo example. Apparently didn't commit in a while. Need to be better at that. 2016-08-01 19:07:36 -07:00
src Remove stale comments. 2016-11-13 18:54:49 -08:00
static Add `config::get()`, for global config access. Use it for `Template`. 2016-10-14 18:57:36 -07:00
Cargo.toml Updated dependency versions. 2016-12-09 20:14:49 -08:00
README.md Added run notes to TODO. 2016-08-01 20:01:47 -07:00
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