https://github.com/jbroadway/elefant-vagrant
Virtual Machines for Elefant Development using Vagrant + Chef
https://github.com/jbroadway/elefant-vagrant
Last synced: about 2 months ago
JSON representation
Virtual Machines for Elefant Development using Vagrant + Chef
- Host: GitHub
- URL: https://github.com/jbroadway/elefant-vagrant
- Owner: jbroadway
- Created: 2013-06-26T16:46:34.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-10T15:03:32.000Z (over 11 years ago)
- Last Synced: 2025-01-13T12:27:18.332Z (3 months ago)
- Language: PHP
- Homepage: http://www.elefantcms.com
- Size: 109 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtual Machines for Elefant Development
This project provides scripts and workflow for developing LAMP-based
web applications, with the additional option of installing the latest
Elefant CMS code into a new site.**Status:** Used for personal/work development, still being fleshed out
for wider general use. Bug reports, suggestions and improvements are
most welcome.## Requirements
Tested on Mac OS X, and requires the following tools:
* [Berkshelf](http://berkshelf.com/)
* [Chef-solo](http://gettingstartedwithchef.com/)
* [Vagrant](http://www.vagrantup.com/)
* [VirtualBox](https://www.virtualbox.org/)## Getting started
Once you've installed the above tools, clone and initialize your
setup like this:git clone https://github.com/jbroadway/elefant-vagrant ~/projects
cd ~/projects
berks installThis will create a `~/projects` folder, under which all of your web
projects will be run, and install the Chef recipes needed for your
virtual machines.Now to create your first project, use:
sudo ./new-project testsite elefant
This command does several things:
1. Adds a new `www.testsite.dev` alias to `/etc/hosts`
2. Creates a Vagrant project under `~/projects/testsite`
3. Installs Elefant into this folder and sets the necessary permissions
4. Starts the virtual machine (`vagrant up`)After the script completes successfully, you should be able to browse
to `http://www.testsite.dev/` and be taken to the Elefant installer.Your source files live in `~/projects/testsite/www` on the host machine,
which is mapped to `/var/www/elefant` in the virtual machine.