Skip to content

Installation Windows

Md. Abu Taher edited this page Dec 1, 2017 · 3 revisions

Dependencies

Install Basic Dependencies

Install Chocolatey, the package manager for Windows.

Install Meteor,

choco install meteor

and then install yarn and node-gyp for future usage.

meteor npm install -g yarn node-gyp

Install node-canvas module dependencies:

  1. choco install -y python2 gtk-runtime microsoft-build-tools libjpeg-turbo (may require sudo/Administrator).
  2. You will need the cairo library which is bundled in GTK. Download the GTK 2 bundle for Win32 or Win64. Unzip the contents in C:\GTK.

Install other dependencies listed on package.json

meteor yarn

Start the app

meteor yarn start

In case you want to start the app manually, make sure to include settings, port and database properly.

Assuming you want to run meteor on port 3050, with mongo running up on localhost:27018, and a settings file, your code will look like following,

MONGO_URL=mongodb://localhost:27018 meteor --port 3050 --settings settings.json