Browse files

Add a readme and gitignore

remove .vagrant
  • Loading branch information...
1 parent 410cb76 commit 0e2ec57e3c85cb1c9f3dce3a3ee10f048555692f @ymainier committed Aug 21, 2010
Showing with 26 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +0 −1 .vagrant
  3. +25 −0 README.markdown
View
1 .gitignore
@@ -0,0 +1 @@
+.vagrant
View
1 .vagrant
@@ -1 +0,0 @@
-{"default":"acc84dca-055d-417d-b850-027a092887db"}
View
25 README.markdown
@@ -0,0 +1,25 @@
+What
+====
+Vagrant/Chef files for a LAMP server
+
+How
+===
+1. Install [vagrant](http://vagrantup.com/)
+ gem install vagrant
+2. Download and Install [VirtualBox](http://www.virtualbox.org/)
+3. Download a vagrant box (name of the box is supposed to be lucid32)
+ vagrant box add base http://files.vagrantup.com/lucid32.box
+4. Clone this repo
+5. Go to the repo and launch the box
+ cd [repo]
+ vagrant init
+ vagrant up
+6. Add this line to your /etc/hosts (or windows equivalent)
+ 127.0.0.1 www.dev-site.com dev-site.com dev.dev-site-static.com
+
+That's it, the file in repo are served here : [http://www.dev-site.com:8080/](http://www.dev-site.com:8080/)
+
+You can add `XDEBUG_PROFILE` to your GET parameter to generate an xdebug trace, e.g. [http://www.dev-site.com:8080/](http://www.dev-site.com:8080/)
+
+You can then investigate at [http://localhost:8080/webgrind/](http://localhost:8080/webgrind/)
+

0 comments on commit 0e2ec57

Please sign in to comment.