Skip to content

Bricco/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

scripts

Nifty shell scripts that helps in everday work

setup_drupal.sh

A script that is used for a quick install of a vanilla Drupal and some common modules. It has both install and uninstall capability. What it does:

  • Installs latest Drupal
  • Installs some common modules
  • Creates a drush make file
  • Creates MySQL database and user grants
  • Creates Apache virtual host
  • Adds domain to local hosts file

Installation

As root, copy or download setup-drupal.sh and chmod +x it.

Ubuntu/Linux

cd /usr/local/bin
sudo wget -O setup_drupal.sh --no-check-certificate https://raw.githubusercontent.com/Bricco/scripts/master/setup_drupal.sh
sudo chmod +x setup_drupal.sh

Mac OS X

cd /usr/sbin
sudo curl -O https://raw.githubusercontent.com/Bricco/scripts/master/setup_drupal.sh
sudo chmod +x setup_drupal.sh

Usage cd to your favourite web folder (the script installs Drupal to your current folder).

setup_drupal.sh install mycoolsite
setup_drupal.sh uninstall mycoolsite

About

Nifty shell scripts that helps in everday work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages