Skip to content

Commit

Permalink
Update studiorc to match 0.56 release commands
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Macfarlane <[email protected]>
  • Loading branch information
smacfarlane committed Jun 4, 2018
1 parent 6d7c026 commit ce5e986
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .studiorc
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ start_demo() {
}

start_mongodb() {
runcmd "hab pkg install $HAB_ORIGIN/np-mongodb"
runcmd "hab svc load $HAB_ORIGIN/np-mongodb"
}

start_parks() {
runcmd "hab pkg install $HAB_ORIGIN/national-parks"
runcmd "hab svc load $HAB_ORIGIN/national-parks --bind database:np-mongodb.default --channel stable --strategy at-once"
}

stop_mongodb() {
runcmd "hab svc stop $HAB_ORIGIN/np-mongodb"
runcmd "hab svc unload $HAB_ORIGIN/np-mongodb"
}

stop_parks() {
runcmd "hab svc stop $HAB_ORIGIN/national-parks"
runcmd "hab svc unload $HAB_ORIGIN/national-parks"
}

stop_demo() {
Expand Down

0 comments on commit ce5e986

Please sign in to comment.