AlexeyMK/meteor-download

Implementation

boblikesoup opened this issue · 4 comments

Thanks for sharing this. Can you write a little more on how to use this?

I downloaded the download.sh file to my meteor project's root then ran the terminal command aimed at "." and got "download.sh: command not found"

Hey Juke! Have you checked whether the file is in the directory?

Here's a command line tutorial I recommend if you're looking to get a
little bit more comfortable.

https://www.learnenough.com/command-line-tutorial

On Mon, Mar 7, 2016 at 7:30 AM, Juke notifications@github.com wrote:

Thanks for sharing this. Can you write a little more on how to use this?

I downloaded the download.sh file to my meteor project's root then ran the
terminal command aimed at "." and got "download.sh: command not found"


Reply to this email directly or view it on GitHub
#5.

Thanks for getting back Alexey. The download.sh was indeed in the root of the meteor project's folder.

I didn't notice anything new from the link you shared but googling I learned that I just had to add "sh" before the command.

Am now getting an error:
Couldn't open a mongo connection: Service temporarily unavailable. Please try
again later.
Could not connect to your app's server.

Is there anything more to it than downloading and running your script from terminal? Not sure if I'm supposed to edit anything in the script, especially at this part: # sample server url:mongodb://client:THIS-IS-PASSWORD@MONGO-SERVER-URL/DATABASE-URL

Sounds like that might be on meteor.com's end, or the address you're giving
is incorrect.

I'd say either try again, check the format, or read the source of the
script you're running (it's not particularly long).

Good luck!

On Mon, Mar 7, 2016 at 1:35 PM, Juke notifications@github.com wrote:

Thanks for getting back Alexey. The download.sh was indeed in the root of
the meteor project's folder.

I didn't notice anything new from the link you shared but googling I
learned that I just had to add "sh" before the command.

Am now getting an error:
Couldn't open a mongo connection: Service temporarily unavailable. Please
try
again later.
Could not connect to your app's server.

Is there anything more to it than downloading and running your script from
terminal?


Reply to this email directly or view it on GitHub
#5 (comment)
.

Oh it was on Meteor's end. Tried the exact same thing again and it worked.

The /tools/latest/mongodb/bin/mongod inside .meteor doesn't exist. Is that the appropriate place/are there certain prerequisite softwares needed?

Uploading DB into your local meteor instance
starting local version of mongo db daemon
download.sh: line 102: /Users/boblikesoup/.meteor/tools/latest/mongodb/bin/mongod: No such file or directory
2016-03-06T16:40:55.232-0800 too many positional arguments
2016-03-06T16:40:55.232-0800 try 'mongorestore --help' for more information
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
All done, enjoy!