Downloading the source code: Difference between revisions

Jump to navigation Jump to search
imported>Jordie0608
(NT -> TG)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Needs revision|reason=More like I will fix this|user=[[User:Jando|jando]]}}
This page contains the information and steps needed to download the latest version of the code, compile it and host your own server.
This page contains the information and steps needed to download the latest version of the code, compile it and host your own server.


== Licensing ==
== Licensing ==


The /tg/station 13 source code is open. The license allows you to do most things, but if you're really interested in more, see below.
The /tg/station 13 source code is under [http://www.gnu.org/licenses/agpl-3.0.html GNU AGPL v3 license] and the assets are [http://freedomdefined.org/Licenses/CC-BY-SA CC-BY-SA].
 
The license that we use allows you:
 
*to '''Share''' — to copy, distribute and transmit the work
*to '''Remix''' — to adapt the work
*to '''make commercial use''' of the work
 
Under the following conditions:
 
*'''Attribution''' —  You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).  
*'''Share Alike''' — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.


== Downloading ==
== Downloading ==


We use GitHub to host our project. Read [[Setting up git|this guide]] on how to use GitHub.
We use GitHub to host our project.
 
* Go to [https://github.com/tgstation/-tg-station]
* Download the source code as a ZIP file, it is about 32MB
 
 
If you don't want to download 30MB of data every time an update is made, you can use [http://code.google.com/p/tortoisegit/ TortoiseGit].
 
#After installing it, go to the [https://github.com/tgstation/-tg-station /tg/station GitHub page].
#Copy the HTTP link.
#In Windows Explorer, right-click the folder you wish to store the code in and click "Git Clone..."
#In the URL field, paste the HTTP link.
#Click OK. The code will begin downloading.


== Updating to the latest revision ==
A zip download is available here: [https://github.com/yogstation13/Yogstation-TG]


If you have downloaded the source code using TortoiseGit, simply right-click the folder, go Git Sync..., and press the Pull button.
If you don't want to download 30MB of data every time an update is made, you can [[Setting up git|follow this guide]] to set up TortoiseGit.


If you downloaded the code in a zip file, you need to download another zip file.
[[File:Download za git.png]]


== "I did not change anything, but the code does not work anymore!" ==
== "I did not change anything, but the code does not work anymore!" ==
Line 53: Line 32:
To get a simple server running first
To get a simple server running first
* Download the source code as explained [[Downloading_the_source_code#Downloading|above]]
* Download the source code as explained [[Downloading_the_source_code#Downloading|above]]
* Open tgstation.dme in dream maker (double click it)
* Open yogstation.dme in dream maker (double click it)
* Once it opens select Build > Compile
* Once it opens select Build > Compile
* Wait until it compiles. Once it does a new file "tgstation.dmb" will be created in the same folder where "tgstation.dme" is. The dmb file has an orange icon. Compile time usually takes between 1 and 10 minutes, depending on your computer. Dream maker will show as 'not responding' during this time, but it is compiling.
* Wait until it compiles. Once it does a new file "Yogstation.dmb" will be created in the same folder where "yogstation.dme" is. The dmb file has an orange icon. Compile time usually takes between 1 and 10 minutes, depending on your computer. Dream maker will show as 'not responding' during this time, but it is compiling.
* Open dream daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
* Open dream daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
* Select the "..." in the lower right corner and select the file "tgstation.dmb".
* Select the "..." in the lower right corner and select the file "yogstation.dmb".
* Click the "GO" button and wait until it changes to a red "stop" button. Starting the server usually takes between 1 and 5 minutes. It is fully started once you can normally interact with Dream Daemon and a byond://xxx.xxx.xxx.xxx:xxxxx link is present at the bottom.
* Click the "GO" button and wait until it changes to a red "stop" button. Starting the server usually takes between 1 and 5 minutes. It is fully started once you can normally interact with Dream Daemon and a byond://xxx.xxx.xxx.xxx:xxxxx link is present at the bottom.
* Click the yellow button (former "...") to auto-join
* Click the yellow button (former "...") to auto-join
426

edits

Navigation menu