Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hooks/post-run
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh
#

#add sleep to wait for mongo to come online
sleep 30s

{{pkgPathFor "core/mongo-tools"}}/bin/mongoimport --drop -d demo -c nationalparks --type json --jsonArray --file {{pkg.path}}/national-parks.json --host={{sys.ip}} --port={{cfg.mongod.net.port}}
2 changes: 1 addition & 1 deletion plan.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkg_origin=echohack
pkg_name=np-mongodb
pkg_version=3.2.9
pkg_version=3.3.1
pkg_description="Mongodb for National-Parks app"
pkg_maintainer="echohack"
pkg_license=('AGPL-3.0')
Expand Down