mortona42 / addsite

Add a vhost site for apache, add url to hosts file, create database and user.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This script will:

  • Create a vhost conf file for apache, pointing to ~/www/SITE
  • Set up your hosts file with SITE.dev
  • Create a database and user as SITE:SITE@localhost/SITE

To use:

sudo addsite SITE

About

Add a vhost site for apache, add url to hosts file, create database and user.


Languages

Language:Shell 100.0%