Closed TomFreudenberg closed 8 years ago
Hi Jeremy ( @JeremyBYU )
I am sorry but you (mostly) can't currently bundle your app on your desktop and run it on your arm device afterwards. You need to build the tarball on the arm device as well in case of some native npm code which has to be compiled for the right platform. Currently meteor desktop builder can only create for x86 architectures.
So what you need to do is:
cd /home/myapp/src
/usr/local/meteor/meteor build --directoy /home/myapp
cd /home/myapp/bundle/programs/server
/usr/local/meteor/dev_bundle/bin/npm install
apt-get install mongodb
and this is up and runningcd /home/myapp/bundle
MONGO_URL='mongodb://localhost:27017/myapp' ROOT_URL='http://localhost:3000' PORT=3000 /usr/local/meteor/dev_bundle/bin/node main.js
That should bring your app online.
Remarks:
meteor build
will take its time because not only your sources but all necessary packages are prepared for your device.Good luck Tom
Tom, Thanks for the help. I'm still getting the same issue when I bundle on the ARM device, namely that I need node 0.10.40 or newer. My node version (installed from this git repository yesterday) on my arm device is v 0.10.29.
You said above
Now you are ready to run your app with the dev_bundled node (currently 0.10.40)
Is that implying that you believe this meteor fork branch should install node 0.10.40. If thats the case then I guess something went wrong with my install!
EDIT: Just figured it all out. I just need to use node that came installed with meteor. Namely in $HOME/meteor/meteor/bin/node. This is the node version that is at 0.10.40.
I also installed mongodb. Wasnt sure if that got installed with this arm bundle
Everything seems to be working perfectly now. Boot up time is seconds instead of literally 25 minutes.
Hi Jeremy, thanks for response.
Have fun Tom
From Jeremy ( @JeremyBYU )
When I bundle an app on my desktop with the latest meteor (1.2) and try to deploy on my raspberry pi (1.2, forked ARM), its says I need a newer version of node. I get an error saying I need 0.10.40 or newer and the current node on the ARM fork is 0.10.29. Is the only way around this to bundle on my raspberry pi?