Open a terminal window, go to your development site root (~/Sites/dpk
), and enter the following lines:
> git add sites/all/modules/features/drupallos_homepage/*
> git commit -m 'adding homepage view module'
> cd ~/Sites/uat.drupallospizzakitchen.com
> git pull
The first line of code added the next drupallos_homepage
module to the local development version of the repository. The second line committed the changes to the repository locally. The third line changed us over to the "remote" version of the repository. The fourth line pulled all the changes we just checked in to the UAT repository.
You could repeat these commands on a remote server and have a working make file and codebase to set up a UAT server. We won't go into detail with the steps involved in setting up the UAT server because it's exactly the same as setting up our local development, but here they are:
1. Run the
drush make dpk.make
command on the...