git clone https://github.com/boly38/node-mongotools.git
# setup env
pnpm install
pnpm test- a
localhostmongodb instance running mongodumpandmongorestorebinaries- setup done
Add dependencies
pnpm installCopy and source env/initEnv
cp ./env initEnv.template.sh initEnv.dontpush.sh
. ./env/initEnv.dontpush.shUpdate MT_MONGO_PORT, and if required MT_MONGO_USER, MT_MONGO_PWD
In order to run unit tests:
. ./env/initEnv.test.shIf you would like to play dropbox test, then you must set MT_DROPBOX_TOKEN too.
pnpm test