Rocket/examples/todo
Sergio Benitez a9b12568d9 Update to upstream diesel. 2016-10-12 00:38:30 -07: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 Update to upstream diesel. 2016-10-12 00:38:30 -07:00
static Add request preprocessing for _method in forms. 2016-09-25 02:26:15 -07:00
templates Updates for latest nightly. Use Tera from main branch. 2016-10-08 19:27:33 -07:00
Cargo.toml Update to upstream diesel. 2016-10-12 00:38:30 -07:00
README.md Added run notes to TODO. 2016-08-01 20:01:47 -07: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