Deploy meteor apps to your custom server using SSH!
Deploy meteor applications to your own servers using SSH and SFTP. Pull and feature requests are encouraged.
This package will deploy your meteor application in a way to be able to rollback to a previous deployment. Basic filestructure is:
/<configured remote path>/<environment>/.payloads<projectName>-<deployment timestamp>...<ProjectName> -> symlink to current deployment<ProjectName-previous> -> symlink to previous deployment
npm install -g meteor-deploy
Imagine the following package.json:
The deployConfig node is the root of all evil. Under it there are so called environment nodes. For every environment you want to deploy to you can add a new object and so every environment can have its own server and credentials.
Usage: meteor-deploy [options] [command]Commands:rollback Rolls back to the last deployed version.deploy Deploys the git repository to a remote server.Options:-h, --help output usage information-V, --version output the version number--env <environment> Deploy to the provided environment.--mrt Deploy using meteorite. Default false.-f, --forever Attempt to start/restart the program on the server using forever.