Drupal-webroot repository will contain Drupal core (with all its history) and Contributed Modules. 7.x-1.x-dev is the branch where all the action lies, this branch will be kept upto date with future Drupal 7 releases (currently its in sync with Drupal 7.19)
Setup should be simple, and allow a distributed team to work seamlessly. Below are the steps -
- Login to your github.com account. Say your username there is - GITHUBUSER (NOTE: In all the steps below replace this with your actual username)
- Fork this repository to your account - https://github.com/code4aap/drupal-webroot so that it becomes - https://github.com/GITHUBUSER/drupal-webroot
- Fork this second repository to your account - https://github.com/code4aap/drupal-aap-campaign so that it becomes - https://github.com/GITHUBUSER/drupal-aap-campaign
- Goto your localhost webroot folder
- git clone [email protected]:GITHUBUSER/drupal-webroot.git
- git clone [email protected]:GITHUBUSER/drupal-aap-campaign.git
- Create a database using mysqladmin or any other tool
- Download the latest development database snapshot (use 'quickback' optoin) from here - http://ec2-54-251-82-132.ap-southeast-1.compute.amazonaws.com/admin/config/system/backup_migrate (NOTE: you can collect site user/pass from somebody in the development team)
- Import database backup from the previous step into the database you created on your local 2 steps before
- Update your settings.php file accordingly and get started :-)
This repo will be merge only, human commits should be kept to bare minimum. If you wish to get a contributed module added to this repo, then fork the branch and send a pull request and after discussion on why/what on module, it'll be merged into drupal-webroot
This repo will have appropriate symlinks to appropriate folders in drupal-aap-campaign repo. You can find symlinks in the following locations:
- drupal-webroot/profiles/
- drupal-webroot/sites/all/modules/
- drupal-webroot/sites/all/themes/