Skip to content

NEU-DSG/buildtapas

Repository files navigation

buildtapas

The Drupal build profile and drush makefile for installing the tapas project.

First, Get your environment.

This might be your production server, the http://www.drupal.org/project/vdd vagrant box, or the the https://github.com/NEU-DSG/tapas-platter box. If you are using Drupal's VDD box, you will also need to install the XML parsing PHP library by typing typing sudo apt-get install php5-xsl If you use tapas-platter, this script will be called automagically -- skip to the 'After running the buildtapas.sh script' section.

instructions for using buildtapas

1. Download two just two files (yes, just these two. They will pull down the rest of what is needed.)
  * buildtapas.sh
	* stub.make
  1. Place them in the location where you want to install Drupal
  2. The five parameters are: * Username for exisiting MySQL account with sufficient permissions to create a new database
    • The password for above MySQL account
    • The name of the new drupal database to create
    • the name of the new user to create for drupal to use to access this new database
    • The new password that drupal should use to log in as the above-mentioned new user.

The website login will be username admin with a randomly generated password which will be shown at the end of the install process.

After running the buildtapas.sh script

  1. Log in and change the 'admin' password.
  2. Under the 'TAPAS' section of the Modules page, enable the 'importtaxonomies' modules to populate the taxonomy values. 1. Go into the UUID module's settings and hit the "Create Missing UUID's" button
  3. Use Node Export's import feature to upload the basic page exports stored in the buildtapas subfolder.
  4. Use Node Export's import feature to upload the content (not stored in Github, because not all of it is public).
  5. Manually set 'sharethis' settings. Couldn't figure out a way to do it programatically.

Files

README.me
This instruction set.
buildtapas.info:
Gives the version of Drupal to install and the list of modules to enable.
buildtapas.install:
Enables the theme, creates filter formats, and adds RDF.
buildtapas.make:
Tells drush make what version of Drupal to download and install, and what modules & themes to download and install.
buildtapas.profile:
Automatically selects this profile in Drupal's instalation GUI, so that the user doesn't need to intervene/use the gui.
buildtapas.sh:
  1. Calls drush make on the stub.make file. This will cause Drupal and all needed repositories and modules (including buildtapas) to be downloaded.
  2. Creates the MySQL database that Drupal will use
  3. Runs the Drupal installation script, telling it to use buildtapas as the installation profile.
  4. Calls a few additional cleanup Drush commands
buildtapas_database.sql
buildtapas_usersettings.inc
stub.make
Stub makefile tells drush make to pull down this full buildtapas directory, and to install Drupal.