Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flochtililoch/sites

Simple directory structure to run Drupal, Symfony2, Kohana and other LAMP based web sites
https://github.com/flochtililoch/sites

Last synced: about 5 hours ago
JSON representation

Simple directory structure to run Drupal, Symfony2, Kohana and other LAMP based web sites

Awesome Lists containing this project

README

        

Sites structure
====================

Introduction
---------------------

Very simple directory organisation that I use on my development box.
It helps me to create Virtual Hosts in seconds and stay organized when dealing with several sites development.

Requirements
---------------------

* Linux Debian
* Apache 2
* Git
* Apache2 mod_macro

Setup (assumes that you are installing in /var/www)
---------------------

* Install mod_macro

```apt-get install libapache2-mod-macro
a2enmod macro```

* Clone this repo in /var/www

```git clone git://github.com/flochtililoch/sites.git /var/www```

* Init and update submodules

```git submodule init
git submodule update```

* Link the main VHost file to Apache available sites, and enable it

```ln -s /var/www/sites/conf/all.conf /etc/apache2/sites-available/
a2ensite all```

* Restart Apache

```apachectl restart```

Configuration
---------------------

TODO