Changes between Initial Version and Version 1 of BuildInstructionsGettingTheCode


Ignore:
Timestamp:
Feb 6, 2020, 11:01:25 AM (4 years ago)
Author:
Stan
Comment:

Initial Version

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructionsGettingTheCode

    v1 v1  
     1= Getting the code =
     2== Windows ==
     3=== Subversion (SVN) ===
     4 * Download and install [https://tortoisesvn.net/ TortoiseSVN]. (Make sure you reboot when it asks you to.)
     5
     6=== Git ===
     7 * Download and install [https://tortoisegit.org/ TortoiseGit]. (Make sure you reboot when it asks you to.)
     8
     9== MacOS ==
     10Both `Subversion (SVN)` and `Git` are installed by default on OSX and Mac OS, there is no need to download them.
     11== Linux ==
     12=== Subversion (SVN) ===
     13You might need to have to install subversion for it to work. Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be:
     14{{{
     15#!sh
     16sudo apt update
     17sudo apt install subversion
     18}}}
     19
     20=== Git ===
     21`Git` is usually present on modern distributions of Linux however you might need to install it in some cases.  Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be:
     22{{{
     23#!sh
     24sudo apt update
     25sudo apt install git
     26}}}
     27
     28
     29== All platforms ==
     30
     31You'll need approximatively **8GB** for a clean checkout, and a few more if you build and run the game. So try to have at least **20GB** free to be safe.
     32
     33'''Note:''' 0 A.D. is primarily developed on `SVN`. However since we are using Arcanist and [wiki:Phabricator Phabricator], unless you have commit access you should never need to use `SVN` if you don't want to. You can use `Git` instead using mirrors, those may be slightly less up-to-date but usually offers faster downloads. Those mirrors are updated daily.
     34
     35'''Important:''' Make sure that the checkout directory doesn't contain special characters (spaces or non-ASCII characters)
     36
     37=== Subversion (SVN) ===
     38To checkout the latest code from `SVN`, run this command:
     39{{{
     40#!sh
     41svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad
     42}}}
     43'''Note:''' This is the read-only public `SVN` URL. If you have commit access, you need to use this one instead:
     44{{{
     45#!sh
     46svn co https://svn.wildfiregames.com/svn/ps/trunk/ 0ad
     47}}}
     48
     49'''Note:''' Sometimes `SVN` stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run
     50
     51{{{
     52#!sh
     53svn cleanup 0ad
     54svn up 0ad
     55}}}
     56
     57=== Git ===
     58To use a `Git` mirror, use one of the following commands:
     59
     60{{{
     61#!sh
     62git clone https://github.com/0ad/0ad.git
     63}}}
     64or
     65
     66{{{
     67#!sh
     68git clone https://gitlab.com/0ad/0ad.git
     69}}}