Added run notes to TODO.

This commit is contained in:
Sergio Benitez 2016-08-01 20:01:47 -07:00
parent 37cbceff67
commit c3f9e01af1
1 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,16 @@
Rocket Todo Example Rocket Todo Example
=================== ===================
Fill this in on instructions for how to create the DB, etc. 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
```