CD part III: Setup the remote and local repositories in GIT

  • 25/11/2016
  • 2 minuten leestijd

CD part III: Setup the remote and local repositories in GIT

In this blog i will describe the steps i have done to create the remote reposities and setup of the local repo's.

Git is a great VCS, if you don't know it? well... Learn it!

setup the remote repositories

  1. first we need to create an account in bitbucket
  2. go to https://bitbucket.org/ and create a free account
  3. create a repository by clicking in the main menu on Repositories > Create repository
  4. Repository name: EasyWebservices
  5. Access level: This is a private repository
  6. Repository type: Git
  7. execute step 4,5 and 6 to create another three repo's: EasyClient, EasyDatabase, EasyWSClients

setup the local repositories

EasyDatabase This repository containts the sources for interaction with the database!

  1. git clone https://johantuitel@bitbucket.org/johantuitel/easydatabase.git
  2. git config --global user.email "j.tuitel@developers.nl"
  3. git config --global user.name "Johan Tuitel"
  4. echo "initial creation" >> readme.md
  5. git add .
  6. git commit -m "first creation of the easy database library"
  7. git push -u origin master
  8. git branch develop
  9. git push -u origin develop

git final steps

EasyWebservices This repository contains the webservices which interact with the database and create an interface layer for the world to access the services!

  1. git clone https://johantuitel@bitbucket.org/johantuitel/easywebservices.git
  2. git config --global user.email "j.tuitel@developers.nl"
  3. git config --global user.name "Johan Tuitel"
  4. echo "initial creation" >> readme.md
  5. git add .
  6. git commit -m "first creation of the easy webservices"
  7. git push -u origin master
  8. git branch develop
  9. git push -u origin develop

EasyWSClients This repository contains the Webservice Clients, which consumes the webservices!

  1. git clone https://johantuitel@bitbucket.org/johantuitel/easywsclients.git
  2. git config --global user.email "j.tuitel@developers.nl"
  3. git config --global user.name "Johan Tuitel"
  4. echo "initial creation" >> readme.md
  5. git add .
  6. git commit -m "first creation of the easy webserice clients"
  7. git push -u origin master
  8. git branch develop
  9. git push -u origin develop

EasyClient This repository contain the sources of our client application!

  1. git clone https://johantuitel@bitbucket.org/johantuitel/easyclient.git
  2. git config --global user.email "j.tuitel@developers.nl"
  3. git config --global user.name "Johan Tuitel"
  4. echo "initial creation" >> readme.md
  5. git add .
  6. git commit -m "first creation of the easy client"
  7. git push -u origin master
  8. git branch develop
  9. git push -u origin develop