-
Take the latest pull from the master branch.
-
Then run the following command from the CLI, from the root of the CCF code directory on your local env.
- fin npm install
- This will take some time.
-
Then run the following commands:
- fin eslint
- fin sass-lint
-
When we run these individual commands then, we will get the follwing message for the first time:
-
Deployment of individual feature branch:
- create a feature branch from developer fork which will follow the following pattern (CCFSGU-<ticket_number>-<hypen-separated-short-description>)
- using the feature branch PR code, we will perform the deployment build on the EC2 instance
- the deployment build will for spawn for each feature branch, which will inturn set up a new drupal instance, with the existing set of configs(drush si(or site-install) --existing-config)
- the (behat) test cases will be run in the build process on the Drupal Instance on the EC2 instance, which will help us provide the build status on the PR of the feature branch.
- After the build has passed for the feature branch, then the PR would be merged manually on the required env branches(pointing to specific envs on the Acquia cloud, probably dev OR stage OR master)
-
Capability to host individual feature branch on an Acquia env instance
Workbooks that were referenced during analysis.(The state of the WBs when referred to, were dated between 20th Aug - 22nd Aug 2019)
- UPR - Asia Shared Site - UPR - New Client Request Form_v2.0 (1)
- Unilever - Crown NAM - New Client Request Form - UL Domestic v2.6
- TWE - New Client Request Form+Custom IF with CP v16
- Volvo - Crown Global - New Client Request Form_Volvo_v1.4
- BP - Asia - New Client Request Form_British Petroleum Asia Pacific v1.6
- HAVI - NAM Client Configuration Workbook v1.8
git config --global user.email "<your github email ID>"
git config --global user.name "<your github username>"
-
We need to have the workflow for TMT FE in conjunction with GitHub.(https://github.com/srijanaravali/tmtfe)
-
Clone the repository https://github.com/srijanaravali/tmtfe into
web > tmtweb
.
git config --global user.email "<your github email ID>"
git config --global user.name "<your github username>"
-
We need to have the workflow for TMT Api in conjunction with GitHub.(https://github.com/srijanaravali/tmtapi)
-
Clone the repository https://github.com/srijanaravali/tmtapi into
web > tmtapi
.
git config --global user.email "<your github email ID>"
git config --global user.name "<your github username>"
- We need to have the workflow for TMT Admin in conjunction with GitHub.(https://github.com/srijanaravali/tmtbe)
Before we start any of the operations after you do vagrant ssh
(after going inside the guest system) please run these two steps
git config --global user.email "<your github email ID>"
git config --global user.name "<your github username>"
-
We need to have the workflow in conjunction with GitHub.(https://github.com/srijanaravali/gcmarketplace)
-
When we go to our local repository and run
git remote -v
then we get this
-
Install VirtualBox 5.2.14 and Vagrant 2.0.2
-
Download the custom vagrant box pttgc-dev-env-v1.box and the Vagrantfile
-
Install the vagrant-disksize plugin
vagrant plugin install vagrant-disksize
-
Windows user's install git bash (or cygwin (preferable))
Before we start any of the operations after you do vagrant ssh
(after going inside the guest system) please run these two steps
git config --global user.email "<your github email ID>"
git config --global user.name "<your github username>"
-
We have our local repository in place where the
master
branch refers toPantheon's Dev
env. -
We need to have the workflow in conjunction with GitHub.(https://github.com/fawadafr/curemint)