Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYohan Dantan
2,370 PointsHow to setup your own VM?
So how do I go about setting up my own VM for the project instead of Treehouses VM?
Is there a step by step guide that someone could link me to or write below? (if possible :])
2 Answers
Luke Pettway
16,593 PointsWhen you say VM do you mean that you want a local server on your computer to run code from? Chris Wiegman wrote a great article on this topic: https://www.chriswiegman.com/2013/08/virtual-machines-the-holy-grail-of-local-web-development/ .
Some of the more popular options for local development are:
http://www.ampps.com/ https://serverpress.com/get-desktopserver/ https://www.mamp.info/en/
What local environment you choose will greatly depend on what technologies you are working with. DesktopServer is better for WordPress for example.
Yohan Dantan
2,370 PointsLuke Pettway - does that mean that in the Treehouse Ruby on Rails Badge (https://teamtreehouse.com/library/installing-a-ruby-development-environment) - I'd follow the same steps but instead of downloading the Treehouse VM I'd use the Ruby Stack 2.3.0-3 Dev (64-bit) 523 MB VM https://bitnami.com/stack/ruby/virtual-machine?
Again thank you for helping out sir!
Luke Pettway
16,593 PointsI haven't done that course in particular but I'd imagine the setup would be different. With Bitnami, it should be a one click install, unless you use one of the VM's. What platform are you on? Windows takes a little bit more to set up but on OSX it should be straight forward.
Yohan Dantan
2,370 PointsYohan Dantan
2,370 PointsLuke Pettway thanks! VM for Ruby - do the above links help for that?
Luke Pettway
16,593 PointsLuke Pettway
16,593 PointsIf you need a ruby specific one check out https://bitnami.com/stack/ruby
Yohan Dantan
2,370 PointsYohan Dantan
2,370 PointsThanks Luke Pettway - and apologies for the completely newb questions - but what do I then do - download the installer, install and then what steps do I then take to set it up? Is there a treehouse video on how to do it or another guide somewhere?
Thanks heaps in advance!
Luke Pettway
16,593 PointsLuke Pettway
16,593 PointsSee if this helps, there is a section on installation and setup.
https://wiki.bitnami.com/Infrastructure_Stacks/BitNami_Ruby_Stack
Yohan Dantan
2,370 PointsYohan Dantan
2,370 PointsLuke Pettway on OSX - so it doesn't work the same way Vagrant does? or does it replace the need for Vagrant?
Luke Pettway
16,593 PointsLuke Pettway
16,593 PointsIt's an alternative way of doing things, Vagrant is it's on technology stack. There is a slightly larger learning curve with Vagrant due to the technologies it uses. You could technically have both running since Vagrant is a VM host with specially configured settings.