Meteor Introduction and Environment Setup
For starts working with any technology, first of all, we need to create a suitable environment.
Prerequisite: For that first we need Meteor to install in our operating system, to run any Meteor application, we must have NodeJS installed on our PC. NodeJS is the platform needed for Meteor development.
- If you don’t have installed NodeJS. You can visit NodeJS and learn how to download and install it.
- You may visit the official download link of NodeJS to download and install the latest version of NodeJS.
Step by step procedure to install Meteor:
Step 1: We need to download the official Meteor installer. During the process installation if any error occurs, try running the installer package as an administrator. After finish installing the Meteor, you need to check if every package is installed correctly, for that you need to run the following command in the command prompt window.
You will get the following output, which means the Meteor package was installed successfully on your respective system.
Step 2: Now you just need to create a project directory using the following command on your desired location.
meteor create <name of project>
meteor create myMeteorApp
Project Structure: After that command, you see the project directory structure as follows:
Step 3: Now you can start your development.
To run the Meteor web application project you need to type few commands as follows:
It will give you the output in the terminal as shown in the image below :
Output: Output you will see after starting localhost on your browser.