...

/

Different Ways to Deploy a Meteor Application

Different Ways to Deploy a Meteor Application

Learn how to upload a Meteor application to a server.

Deploying a Meteor application

After developing an application, we may want to host it on a server. MeteorJS is an open-source, Node.js framework, which means that we can run MeteorJS applications in production the same way we’d run a Node.js application. There are various methods that deploy the application to the server. We could classify these methods as follows:

Manual method

The project is deployed manually. We have to do everything ourselves, such as transferring the server code to the server and setting up the environment variables. The application is built by running the build command of the Meteor CLI tool on the terminal.

meteor build --directory ../output

The command above outputs the Meteor application bundle in a folder called output, located outside the application project folder as specified by the command. The output folder contains a folder named bundle that has our application code.

Meteor requires that Node.js is installed on ...