radiegtya / meteoris2

a Realtime Javascript Boilerplate base on Meteor Js Framework
MIT License
246 stars 46 forks source link

Can't deploy with mup #38

Open saflimBenly opened 9 years ago

saflimBenly commented 9 years ago

Is there anybody success deploy with mup? I always got error :

    -----------------------------------STDERR-----------------------------------                                                                                                          
    _root_dir=/root/.node-gyp/0.10.36',                                                                                                                                                   
    gyp info spawn args   '-Dmodule_root_dir=/opt/myapp/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',                                                               
    gyp info spawn args   '--depth=.',                                                                                                                                                    
    gyp info spawn args   '--no-parallel',                                                                                                                                                
    gyp info spawn args   '--generator-output',                                                                                                                                           
    gyp info spawn args   'build',                                                                                                                                                        
    gyp info spawn args   '-Goutput_dir=.' ]                                                                                                                                              
    gyp info spawn make                                                                                                                                                                   
    gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]                                                                                                                            
    gyp info ok                                                                                                                                                                           
    npm WARN package.json meteor-dev-bundle@0.0.0 No description                                                                                                                          
    npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.                                                                                                                    
    npm WARN package.json meteor-dev-bundle@0.0.0 No README data                                                                                                                          
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                                                                                       
                                     Dload  Upload   Total   Spent    Left  Speed                                                                                                         
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 3000: Connection refused                                          
    Latest deployment failed! Reverted back to the previous version.                                                                                                                      
    -----------------------------------STDOUT-----------------------------------

I found no problem "mup deploy" with https://github.com/matteodem/meteor-boilerplate and https://github.com/Differential/meteor-boilerplate, using the same mup.json file.

Is there anything missing from me? Please advise. Thanks.

radiegtya commented 9 years ago

Sorry, I think I need adding documentation about this. Please open up lib/applications/meteoris/configs/config.js file, then change the mongo url path with your actual path:

mongoUrl: 'mongodb://localhost:3001/meteor/',

for example change to:

mongoUrl: 'mongodb://demo:demo@localhost:27017/yourDbName', //mongoUrl from your hosting IP address

Btw Thanks for the report.