How to Begin a Project from the Current Expertiza Repository: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
* Navigate to [https://github.com/expertiza/expertiza the Expertiza repository] and click the fork icon in the upper right corner [[File:Fork.jpg]]
* Navigate to [https://github.com/expertiza/expertiza the Expertiza repository] and click the fork icon in the upper right corner [[File:Fork.jpg]]
* Add an ssh key for Github on your computer if you have not already.
* Add an ssh key for Github on your computer if you have not already.
<pre>ssh-keygen -trsa -C "your_email@example.com"</pre>
<code>ssh-keygen -trsa -C "your_email@example.com"</code>
** Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
** Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
** Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:
** Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:
<pre>cat ~/.ssh/id_rsa.pub</pre>
<code>cat ~/.ssh/id_rsa.pub</code>
* Copy the URL of your forked repository
* Copy the URL of your forked repository
** It should be in the form: git@github.com:<Your Github Username>/expertiza.git
** It should be in the form: git@github.com:<Your Github Username>/expertiza.git
* On your development machine run:
* On your development machine run:
<code>git clone git@github.com:<Your Github Username>/expertiza.git</code>
<code>git clone git@github.com:<Your Github Username>/expertiza.git</code>
* * The remote is the URL you copied earlier.
** The remote is the URL you copied earlier.
* Now you are in the current Expertiza working directory!
* Now you are in the current Expertiza working directory!

Revision as of 22:22, 31 January 2013

  • Login to Github or create an account.
  • Navigate to the Expertiza repository and click the fork icon in the upper right corner
  • Add an ssh key for Github on your computer if you have not already.

ssh-keygen -trsa -C "your_email@example.com"

    • Follow the instructions at the prompt. You can decide whether to set a password or not for the key.
    • Copy the output of the following command and paste it into the new ssh key dialogue on Github: https://github.com/settings/ssh:

cat ~/.ssh/id_rsa.pub

  • Copy the URL of your forked repository
    • It should be in the form: git@github.com:<Your Github Username>/expertiza.git
  • On your development machine run:

git clone git@github.com:<Your Github Username>/expertiza.git

    • The remote is the URL you copied earlier.
  • Now you are in the current Expertiza working directory!