-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[playground] circumvent mongodb-download out-of-date URLs
[mongodb-prebuilt](https://github.com/winfinit/mongodb-prebuilt) uses [mongodb-download](https://github.com/mongodb-js/mongodb-download) internally to download mongodb binaries. Unfortunately, the URLs on https://fastdl.mongodb.org used for these binaries have changed and `mongodb-download` doesn't seem up-to-date, cf. mongodb-js/mongodb-download#36 and mongodb-js/mongodb-prebuilt#59 To bypass this issue, you can manually specify the download URL by setting the `MONGODB_DL_URI` environment variable. For instance, you can use the following command line: `MONGODB_DL_URI=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.0.13.tgz node playground/server.js --automongo` or `MONGODB_DL_URI=https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-4.0.13.tgz node playground/server.js --automongo`
- Loading branch information
Adrien Di Mascio
committed
Dec 8, 2019
1 parent
0d697a9
commit c0fa1e8
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters