Comparing version 0.4.5 to 0.4.6
@@ -19,4 +19,4 @@ { | ||
// WARNING: If nodeVersion omitted will setup 0.10.25 by default. Do not use v, only version number. | ||
"nodeVersion": "0.10.25", | ||
// WARNING: If nodeVersion omitted will setup 0.10.26 by default. Do not use v, only version number. | ||
"nodeVersion": "0.10.26", | ||
@@ -23,0 +23,0 @@ // Install PhantomJS in the server |
{ | ||
"name": "mup", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Production Quality Meteor Deployments", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -21,4 +21,6 @@ # Meteor Up | ||
- [Reconfiguring & Restarting](#reconfiguring--restarting) | ||
- [Accessing the Database](#accessing-the-database) | ||
- [Multiple Deployments](#multiple-deployments) | ||
- [Binary NPM Modules](#binary-npm-modules) | ||
- [Troubleshooting](#troubleshooting) | ||
@@ -41,3 +43,2 @@ ### Features | ||
* Revert to the previous version, if the deployment failed | ||
* Support for **Hot Code Reload** | ||
* Secured MongoDB Installation (Optional) | ||
@@ -87,3 +88,3 @@ * Pre-Installed PhantomJS (Optional) | ||
// WARNING: If nodeVersion omitted will setup 0.10.25 by default. Do not use v, only version number. | ||
"nodeVersion": "0.10.25", | ||
"nodeVersion": "0.10.26", | ||
@@ -119,2 +120,24 @@ // Install PhantomJS in the server | ||
#### Ssh based authentication | ||
The setup process will require NOPASSWD access to sudo. (Since Meteor needs port 80, sudo access is required.) | ||
You can add your user to the sudo group: | ||
sudo adduser *username* sudo | ||
And you also need to add NOPASSWD to the sudoers file: | ||
sudo visudo | ||
# replace this line | ||
%sudo ALL=(ALL) ALL | ||
# by this line | ||
%sudo ALL=(ALL) NOPASSWD:ALL | ||
When this process is not working you might encounter the following error: | ||
'sudo: no tty present and no askpass program specified' | ||
#### Server Setup Details | ||
@@ -173,4 +196,11 @@ | ||
This will also restart the app, so you can use it for that purpose even if you didn't change the configuration file. | ||
This will also restart the app, so you can use it for that purpose even if you didn't change the configuration file. | ||
### Accessing the Database | ||
You can't access the MongoDB from the outside of the server. To access the MongoDB shell you need to log into your server by SSH first and then run the following command. | ||
mongo appName | ||
### Multiple Deployments | ||
@@ -205,1 +235,9 @@ | ||
~~~ | ||
### Troubleshooting | ||
If you need to see the output of `meteor-up` (to see more precisely where it's failing or hanging, for example), run it like so: | ||
DEBUG=* mup <command> | ||
where `<command>` is one of the `mup` commands such as `setup`, `deploy`, etc. |
26182
238