diff --git a/README.md b/README.md index 86c9e52022d..76a442d4c7e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This README outlines the details of collaborating on this Ember application. ## Running * `cargo build` -* `./target/cargo-registry` +* `./target/cargo-registry` (note: first run use: `RESET=1 ./target/cargo_registry` to setup the database) * `ember server --proxy http://localhost:8888` * Visit your app at [http://localhost:4200](http://localhost:4200). diff --git a/src/app.rs b/src/app.rs index 450dcc3ffff..42be948adce 100644 --- a/src/app.rs +++ b/src/app.rs @@ -57,6 +57,7 @@ impl App { } pub fn db_setup(&self) { + println!(" - setting up the db") db::setup(&*self.database.get().unwrap()) } }