Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup README and remove vagrant from Gemfile

  • Loading branch information...
commit baa7072e025d7992196188533464be1b88d676d6 1 parent e2de15d
Athir Nuaimi authored
Showing with 9 additions and 41 deletions.
  1. +2 −2 Gemfile
  2. +0 −32 Gemfile.lock
  3. +7 −7 README.md
4 Gemfile
View
@@ -1,4 +1,4 @@
source :rubygems
-gem 'vagrant'
-gem 'vagrant-vbguest'
+gem 'vagrant', '~>1.0'
+#gem 'vagrant-vbguest'
32 Gemfile.lock
View
@@ -1,32 +0,0 @@
-GEM
- remote: http://rubygems.org/
- specs:
- archive-tar-minitar (0.5.2)
- childprocess (0.3.2)
- ffi (~> 1.0.6)
- erubis (2.7.0)
- ffi (1.0.11)
- i18n (0.6.0)
- json (1.5.4)
- log4r (1.1.10)
- net-scp (1.0.4)
- net-ssh (>= 1.99.1)
- net-ssh (2.2.2)
- vagrant (1.0.3)
- archive-tar-minitar (= 0.5.2)
- childprocess (~> 0.3.1)
- erubis (~> 2.7.0)
- i18n (~> 0.6.0)
- json (~> 1.5.1)
- log4r (~> 1.1.9)
- net-scp (~> 1.0.4)
- net-ssh (~> 2.2.2)
- vagrant-vbguest (0.3.2)
- vagrant (>= 0.9.4)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- vagrant
- vagrant-vbguest
14 README.md
View
@@ -6,20 +6,20 @@ This project makes it simple and quick to set up an [Apache](http://httpd.apache
- install [Vagrant](http://vagrantup.com/). You can either [download](http://downloads.vagrantup.com/) the package or install using [RubyGems](https://rubygems.org/gems/vagrant). If you have any problems, check the [Getting Started](http://vagrantup.com/docs/getting-started/index.html) page.
- Download the base Ubuntu VM.
`$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box`
+ - make sure you have git installed. Github has great [instructions](http://help.github.com/set-up-git-redirect)
##Installation##
- - clone the repo
+ - clone the repo
`$ git clone git://github.com/anuaimi/apache_module.git`
- `cd /vagrant`
- - install vagrant
- `$ gem install bundler; bundle install`
- - create the virtual machine
+ `cd /apache_module`
+ - create the virtual machine. This will start Ubuntu and run [Puppet](http://puppetlabs.com/) to install the needed packages. It will also download the source to Apache.
`$ vagrant up`
- - ssh into the machine
+ - The Apache source is put in the shared directory (/vagrant in the VM and the current directory on your host computer) which means you can view/edit the source on your host machine and run it in the VM
+ - When you are ready to compile and run your module, you can ssh into the machine, follow the instruction below
`$ vagrant ssh`
`$ cd /vagrant`
- - compile your module
`sudo apxs2 -c apache-2.2.xx/modules/experimental/mod_example.c`
+ - You can now run Apache and test out your module.
##Workflow##
- configure apache the way that you want it
Please sign in to comment.
Something went wrong with that request. Please try again.