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==
 
Do this ( download size is ~600MB ):
 
 
sudo apt-get update && sudo apt-get -y install git
 
git clone --recurse-submodules https://github.com/MegaGlest/megaglest-source.git
 
cd megaglest-source/mk/linux/
 
sudo ./setupBuildDeps.sh
 
./build-mg.sh
 
 
launch with:
 
./megaglest
 
  
 
==Choose and install a git client==
 
==Choose and install a git client==
Line 32: Line 20:
 
'''''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===
Line 64: Line 52:
 
*[[MG/Project Structure|Project Structure]]
 
*[[MG/Project Structure|Project Structure]]
 
*[https://github.com/MegaGlest/megaglest-source/wiki/Git-How-To Git-How-To]
 
*[https://github.com/MegaGlest/megaglest-source/wiki/Git-How-To Git-How-To]
 
[[Category:MG]]
 
[[Category:Development]]
 

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)