Skip to content

Instantly share code, notes, and snippets.

@carlynorama
Created November 9, 2011 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlynorama/1353483 to your computer and use it in GitHub Desktop.
Save carlynorama/1353483 to your computer and use it in GitHub Desktop.
Install of Clean Drupal Sandbox Site
#because my copy of drupal 7.9 is in the Downloads folder
cd $HOME/Downloads
#if you haven't gotten it already
#curl -O http://ftp.drupal.org/files/projects/drupal-7.9.tar.gz
#untar to the right place
tar -C $HOME/Documents/GitHub/CRASHSpace/SandboxDrupalSite/ -xjvf drupal-7.9.tar.gz
#go to that place
cd $HOME/Documents/GitHub/CRASHSpace/SandboxDrupalSite/
#change the web-home directory name
mv drupal-7.9 www
#add a resources folder
mkdir Resources
#copy the gitignore from somewhere else (most important at this point it to ignore the .DS_Store files
#or make it with vi or emacs or whatever
#a version here: https://gist.github.com/1326679
cp $HOME/Documents/GitHub/CRASHSpace/drupal_crashspace_dev/.gitignore .gitignore
# add the files (http://stackoverflow.com/questions/572549/difference-of-git-add-a-and-git-add)
git add -A
#check work and then commit
git status
git commit -m "clean new drupal"
#get round one modules
drush dl admin
drush dl advanced_help
drush dl backup_migrate
drush dl ctools
drush dl devel
drush dl views
#track, commit
git add -A
git status
git commit -m "round one of modules"
#get round two modules
drush dl calendar
drush dl date
drush dl pathauto
drush dl token
drush dl relation
drush dl link
drush dl media
drush dl profile2
drush dl entity
drush dl panels
drush dl features
drush dl flag
drush dl rules
#track, commit
git add -A
git status
git commit -m "round two modules"
#--- create database,
#--- run the installer
#--- load backup_migrate
#--- run a back up
#--- save it somewhere tracked
#--- commit again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment