One Deployment Method for A Meteor Application on Windows

No worries. I will post more soon. I am trying to compile in a Windows 10 32-bit VM right now and it is not working. It keeps telling me to reinstall node-fibers as though I am targetting/running on a different arch even though I am doing both the compilation and testing on the exact same VM. So still working on 32-bit and it seems like fibers is causing the issue (as opposed to node). In general it works for me using 64-bit node.

Edit: here is what I figured out for 32bit deployments. The .cmd file has to be different. On the mongo line you have to specify the storage engine. Add --storageEngine=mmapv1 to the mongo line.

Deploy Meteor to 32bit Windows machine

Dependencies
-Windows 10 86x VM
-Visual Studio 2012 x86 with C++ Build Tools
-Python x86 v2.7
-Node v0.10.40 x86 and npm
-demeteorizer (“npm install -g demeteorizer”)
-Meteor for Windows

Process

  1. Run production code to confirm it works
  2. Open Developer Command Prompt VS2012 and run “demeteorizer” in deploy folder
  3. Rename.demeteorizer folder into “resources”
  4. Run “npm install” inside bundle\programs\server (yellow = okay, red = bad)
  5. Run “npm uninstall fibers && npm install fibers”
  6. Run “npm uninstall bcrypt && npm install bcrypt”
  7. Copy x86 bin folder containing from repo

File Tree

  • bin
    – node.exe x86 DLL
    – mongod.exe x86 DLL
    – /data (empty folder)
    – run32.cmd (.cmd script)
    – other DLLs
  • resources
    – bundle
    — /server
    — /programs
    — main.js
    — + other files

Deploy Meteor to 64bit Windows Machine

Dependencies
-Windows 10 x64 VM
-Visual Studio 2012 x64 with C++ Build Tools
-Python x64 v2.7
-Node v0.10.40 x64 and npm
-demeteorizer (“npm install -g demeteorizer”)
-Meteor for Windows

Process

  1. Run production code to confirm it works
  2. Open Developer Command Prompt VS2012 and run “demeteorizer” in deploy folder
  3. Rename.demeteorizer folder into “resources”
  4. Run “npm install” inside bundle\programs\server (yellow = okay, red = bad)
  5. Run “npm uninstall bcrypt && npm install bcrypt”
  6. Copy x86 bin folder containing from repo

File Tree

  • bin
    – node.exe x64 DLL
    – mongod.exe x64 DLL
    – /data (empty folder)
    – run64.cmd (.cmd script)
    – other DLLs
  • resources
    – bundle
    — /server
    — /programs
    — main.js
    — + other files