Skip to content

Commit cb135a3

Browse files
committed
Merge pull request #3 from stefanpenner/db
Db stuffz
2 parents a7fd2d8 + a2c4720 commit cb135a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ impl App {
5757
}
5858

5959
pub fn db_setup(&self) {
60+
println!(" - setting up the db")
6061
db::setup(&*self.database.get().unwrap())
6162
}
6263
}

0 commit comments

Comments
 (0)