RSR_Dev Enivironment - adriancollier/demo GitHub Wiki
-
Clone the Akvo RSR repository to a local folder, e.g. ~/Dropbox/dev/akvo/repos:
cd ~/Dropbox/dev/akvo/repos git clone https://github.com/akvo/akvo-rsr.git
If you get any permissions errors, ensure you've followed the Akvo RSR development tools guide
-
Once you've cloned the repository, initialise it with git flow:
cd akvo-rsr git flow init
-
When prompted, use the default values, except for the Version tag prefix, which is "v":
Branch name for production releases: [master] Branch name for "next release" development: [develop] How to name your supporting branch prefixes? Feature branches? [feature/] Release branches? [release/] Hotfix branches? [hotfix/] Support branches? [support/] Version tag prefix? [] v
-
After git flow initialisation, you'll be in the develop branch. To start development on a new feature use:
git flow feature start shiny_new_feature
This will create a new branch off the develop branch called: feature/shiny_new_feature
-
When you're done coding your new feature, push the finished work to the develop branch with:
git flow feature finish shiny_new_feature
-
Examples of more git flow commands are here.
-
To use this repository with Github for Mac:
-
If you're using Github for Mac for the first time, follow the prompts to set your Github details and to locate any existing git repositories on your file system.
-
If you've already been using the Github app, add the repository you've just cloned from:
Preferences >> Repositories >> Scan for repositories
-
Next: 3. Build your local development environment
Previous: 1. Tools for Akvo RSR development on Mac OS X
Back to: Akvo RSR developer guide