Editing MG/Getting The Code

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
[[MegaGlest]] has switched to git for managing the game's source code and data (the svn repo is no longer active).
 
[[MegaGlest]] has switched to git for managing the game's source code and data (the svn repo is no longer active).
  
==Linux quick setup==
+
==Choose and install a git client==
Do this ( download size is ~600MB ):
+
The MegaGlest source is stored in a Git repository (versions prior to 3.9.0 are in a different - SVN repository, however), and requires a Git client to download. Clients exist for all major operating systems.
 +
 
 +
===Linux quick setup===
 +
do this:
  
sudo apt-get update && sudo apt-get -y install git
+
  git clone --recursive https://github.com/MegaGlest/megaglest-source.git
  git clone --recurse-submodules https://github.com/MegaGlest/megaglest-source.git
 
 
  cd megaglest-source/mk/linux/
 
  cd megaglest-source/mk/linux/
 
  sudo ./setupBuildDeps.sh  
 
  sudo ./setupBuildDeps.sh  
Line 12: Line 14:
 
launch with:
 
launch with:
 
  ./megaglest
 
  ./megaglest
 
==Choose and install a git client==
 
The MegaGlest source is stored in a Git repository (versions prior to 3.9.0 are in a different - SVN repository, however), and requires a Git client to download. Clients exist for all major operating systems.
 
  
 
===Linux===
 
===Linux===
Line 32: Line 31:
 
'''''Prior to running these commands, you need to navigate to the directory (folder) you wish to place the MegaGlest source directory in.'''''
 
'''''Prior to running these commands, you need to navigate to the directory (folder) you wish to place the MegaGlest source directory in.'''''
  
  git clone --recurse-submodules <nowiki>https://github.com/MegaGlest/megaglest-source.git</nowiki>
+
  git clone --recursive <nowiki>https://github.com/MegaGlest/megaglest-source.git</nowiki>
  
 
===Popular mistakes===
 
===Popular mistakes===

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)