]> khamidou — GitHub mirrors - vagrant-rails.git/commitdiff
better readme
authorkarim hamidou <khamidou@gmail.com>
Thu, 20 Feb 2014 18:18:39 +0000 (19:18 +0100)
committerkarim hamidou <khamidou@gmail.com>
Thu, 20 Feb 2014 18:18:39 +0000 (19:18 +0100)
README.markdown

index 77d5fce48e5f0968eb991bf1b75c5853bdfa6323..b31fb00f4d1d97f302b033c55f57624b96a968af 100644 (file)
@@ -2,18 +2,22 @@ Vagrant-rails sets up a virtual machine for rails development, with ruby 2.0 and
 
 ### Quickstart
 
-Install [vagrant](http://www.vagrantup.com/)
-Clone this repo.
-In the cloned directory, run:
-
-    vagrant up # initialize the machine
-    vagrant ssh # connect as user vagrant
-    rbenv shell 2.0.0-p247 # select ruby v 2.0.0-p247
-    cd /vagrant # /vagrant is a special directory which mirrors the directory you started the vm in
-    rails new blog # start coding.
-    cd blog
-    rails s # connect to http://192.168.50.4:3000 to see the rails welcome page.
+1. Install [vagrant](http://www.vagrantup.com/).
 
+2. Clone this repo.
+
+3. Cd to the cloned directory and run `vagrant up` to initialize the vm and setup rails
+
+4. Open a shell on the VM with `vagrant ssh`
+
+5. Run `rbenv shell 2.0.0-p247` to select the correct ruby version
+
+6. cd to the `/vagrant/` directory. It's a special directory mirroring the directory where your vm is stored.
+
+7. run `rails new blog` to create a basic app
+
+8. cd in your blog directory and run `rails s` to launch the rails server. Browsing to http://192.168.50.4:3000 should show you the rails welcome page.
+    
 ### Why vagrant\_rails ?
 
 It's pretty complicated for a beginner to get started with rails, particularly if you're learning git and unix at the same time. vagrant-rails tries to remove the pain of setting up a base dev environment.