BootstrapAdmin/db/MongoDB/install.ps1

6 lines
112 B
PowerShell

# init mongodb data
@echo off
mongo ./init.js
mongo BootstrapAdmin --eval "printjson(db.getCollectionNames())"