Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 998 Bytes

BUILD.md

File metadata and controls

65 lines (45 loc) · 998 Bytes

Build the project

This script assumes a web root and working directory of /var/www and a drupal root of /var/www/repo.

Navigate into the drupal root folder

cd repo

Download the latest Commerce Kickstart release

drush dl commerce_kickstart

Navigate into the Commerce Kickstart profile folder

cd profiles/commerce_kickstart

Update the drupal-org-core.make file

Replace the line beginning with

projects[drupal][version]

With

projects[drupal][type] = "core"
projects[drupal][download][type] = "git"
projects[drupal][download][url] = "https://github.com/pantheon-systems/drops-7.git"

Run the build script

./scripts/build.sh -y /var/www/repo-new

Navigate into the web root folder

cd ../../../

Copy custom files/folders

mv repo/BUILD.md repo-new/
mv repo/.git repo-new/

Replace the drupal folder

rm -fr repo/*
mv repo-new/* repo/
mv repo-new/.* repo/