Difference between revisions of "Download Source Code"

From OSUPDOCS
Jump to navigation Jump to search
Line 1: Line 1:
This page explain how to download source code from the [http://code.google.com/p/nairn-mpm-fea/ <tt>nairn-mpm-fea</tt> project on <tt>googlecode.com</tt>]. The single source code package contains [[NairnMPM]], [[NairnFEA]], and [[NairnFEAMPMViz]]. After this downloading step is completed, you can move on to documentation for [[Compile the Code Engines|compiling the code engines]]. If you are enabled to use [[OSParticulas]], you will get separate instructions for downloading its source code package.
This page explain how to download source code from the [https://github.com/nairnj/nairn-mpm-fea <tt>nairn-mpm-fea</tt> project on <tt>github.com</tt>]. The single source code package contains [[NairnMPM]], [[NairnFEA]], and [[NairnFEAMPMViz]]. After this downloading step is completed, you can move on to documentation for [[Compile the Code Engines|compiling the code engines]]. If you are enabled to use [[OSParticulas]], you will get separate instructions for downloading its source code package.


== Introduction ==
== Introduction ==


You must use Subversion (or <tt>svn</tt>) on your local computer to download the entire <tt>nairn-mpm-fea</tt> project from <tt>googlecode.com</tt>. The <tt>svn</tt> package is available for Mac and Linux as a command-line tool (see http://subversion.tigris.org/ if you need to install it). For Windows, one solution is to [[Compiling in Windows#Installing and Setting Up cygwin|set up <tt>cygwin</tt>]] and use its version of <tt>svn</tt>. In each platform there may by other <tt>svn</tt> options as well, but this page is based on the command-line approach.
This project is now hosted on [https://github.com/nairnj/nairn-mpm-fea Github]. It was moved there on August 14, 2015 because Google Code terminated development options on August 25, 2015. You must use <tt>git</tt> on your local computer to clone the entire <tt>nairn-mpm-fea</tt> project from <tt>githib.com</tt>. You can also use the GitHub desktop app. Please see [https://github.com/ <tt>github.com</tt>] for system-specific details.
 
Once you have <tt>svn</tt> installed, you can either do an [[#Anonymous Checkout|anonymous checkout]] or a [[#Password Enabled Checkout|password enabled check]]. Both these methods listed below get the current main trunk version. To get older versions (in case current main trunk version has issues), you can [[#Checkout Project Versions|checkout a stable prior version instead]]. It is also possible various development versions will be available by [[#Checkout a Branch|checking out a branch]] instead of the main trunk.


==Anonymous Checkout==
==Anonymous Checkout==


This project is now hosted on [https://github.com/nairnj/nairn-mpm-fea Github]. It was moved there on August 14, 2015 because Google Code terminated development options on August 25, 2015. To download the latest project, you can clone the [https://github.com/nairnj/nairn-mpm-fea nairn-mpm-fea repository] using the following command lines:
To download the latest project, you can clone the [https://github.com/nairnj/nairn-mpm-fea nairn-mpm-fea repository] using the following command lines:


  <pre>cd 'Git Projects'
  <pre>cd 'Git Projects'
git clone https://github.com/nairnj/nairn-mpm-fea.git</pre>
git clone https://github.com/nairnj/nairn-mpm-fea.git</pre>


The first line moves to a folder (assumed to be already created) and the second line clones the repository in a new folder called <tt>nairn-fea-mpm</tt> inside the "Git Project" folder.
The first line moves to a folder (assumed to be already created) and the second line clones the repository in a new folder called <tt>nairn-fea-mpm</tt> inside the "Git Project" folder. You are now ready to work with the source code.
You are now ready to work with the source code. You can use other clone methods as well.
 
You can also close use GitHub desktop application, if your computer is compatible with that application.


==Contributing to the Project==
==Contributing to the Project==

Revision as of 16:48, 13 September 2015

This page explain how to download source code from the nairn-mpm-fea project on github.com. The single source code package contains NairnMPM, NairnFEA, and NairnFEAMPMViz. After this downloading step is completed, you can move on to documentation for compiling the code engines. If you are enabled to use OSParticulas, you will get separate instructions for downloading its source code package.

Introduction

This project is now hosted on Github. It was moved there on August 14, 2015 because Google Code terminated development options on August 25, 2015. You must use git on your local computer to clone the entire nairn-mpm-fea project from githib.com. You can also use the GitHub desktop app. Please see github.com for system-specific details.

Anonymous Checkout

To download the latest project, you can clone the nairn-mpm-fea repository using the following command lines:

cd 'Git Projects'
git clone https://github.com/nairnj/nairn-mpm-fea.git

The first line moves to a folder (assumed to be already created) and the second line clones the repository in a new folder called nairn-fea-mpm inside the "Git Project" folder. You are now ready to work with the source code.

You can also close use GitHub desktop application, if your computer is compatible with that application.

Contributing to the Project

If you might want to contribute changes to the nairn-mpm-fea project, including changes to documentation or the project's wiki pages, or if you just want to have a visible presence in use of the code, you should create your own account on GitHub, fork this project, make changes, and then submit a pull request. More details are given in the GitHub help files.

Work on Project Versions and Branches

When using Git, you have a complete copy on the nairn-mpm-fea repository. You can use standard Git methods to "checkout" the version or branch you want to work on. The details can be found in Git documentation.