Skip to content

Commit a2c4720

Browse files
committed
add a note for setting up the database
1 parent f6c5b0b commit a2c4720

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This README outlines the details of collaborating on this Ember application.
2424
## Running
2525

2626
* `cargo build`
27-
* `./target/cargo-registry`
27+
* `./target/cargo-registry` (note: first run use: `RESET=1 ./target/cargo_registry` to setup the database)
2828
* `ember server --proxy http://localhost:8888`
2929
* Visit your app at [http://localhost:4200](http://localhost:4200).
3030

src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl App {
5757
}
5858

5959
pub fn db_setup(&self) {
60-
print!(" - setting up the db\n")
60+
println!(" - setting up the db")
6161
db::setup(&*self.database.get().unwrap())
6262
}
6363
}

0 commit comments

Comments
 (0)