Meteor on Window by Ubuntu VM, sync code with NitrousIO
Nitrous IO is good, but just for fast modifying, to have better productivity we need real IDE on desktop (better coding, better performance)
1. Sign up account on copy.com
2. Nitrous IO : signup account, create a box and start coding
- Configure Sync code from Nitrous IO to Copy.com:
- Login to NItrousIO, open terminal, go to home folder: wget https://copy.com/install/linux/Copy.tgz tar xvzf Copy.tgz cd copy #Exclude .meteor folder ./x8664/CopyCmd cloud exclude -exclude .meteor echo "nohup ./x8664/CopyConsole -u=yourcopyemailaddress -r=/home/action/workspace -p=yourcopy_password &" > start.sh sh start.sh
3. Setup Ubuntu VM:
- Download a lightweight ubutu distro: Lubuntu from http://www.traffictool.net/vmware/lubuntu1304t.html
- Install NodeJS: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
- Install Meteor http://docs.meteor.com/
- Install meteorite https://github.com/oortcloud/meteorite
- Install samba mapping: https://wiki.ubuntu.com/MountWindowsSharesPermanently
- Add this /etc/fstab: //hoailt-PC/Copy /home/user/workspace cifs uid=1000,gid=1000,username=hoailt,password=123,iocharset=utf8,sec=ntlm 0 0 /home/user/local/gxchat/.meteor/ /home/user/workspace/gxchat/.meteor/ none bind 0 0
- Mapping .meteor from local Ubuntu folder (because meteor can't run on mapping device) meteor create /home/user/local/gxchat sudo mount --rbind /home/user/local/gxchat/.meteor/ /home/user/workspace/gxchat/.meteor/
4. Setup your windows PC
- Install Webstorm
- Setup WebStorm for working with Meteor https://github.com/awatson1978/meteor-cookbook/blob/master/cookbook/webstorm.md
- Install Copy.com desktop and sync it to D:\workspace folder, open preferences to excluded .meteor folder
- Share D:\workspace folder with full permission
Written by Tiny Gipxy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#