aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 17:16:06 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-01-01 17:16:06 -0500
commit679b11985fd6a2424cedb3fdf588c3c321769891 (patch)
tree9ae1d78da959118cb346ef772a560f816fac45c2
parent8255b72a639956b1756d5ffc331d4502d334f5cb (diff)
downloadwintersurvival2-679b11985fd6a2424cedb3fdf588c3c321769891.tar.gz
wintersurvival2-679b11985fd6a2424cedb3fdf588c3c321769891.tar.bz2
wintersurvival2-679b11985fd6a2424cedb3fdf588c3c321769891.zip
Added some more notes
-rw-r--r--to-do/cheetsheet.txt22
-rw-r--r--to-do/gmodserver.txt27
-rw-r--r--to-do/website.txt1
3 files changed, 50 insertions, 0 deletions
diff --git a/to-do/cheetsheet.txt b/to-do/cheetsheet.txt
new file mode 100644
index 0000000..410a140
--- /dev/null
+++ b/to-do/cheetsheet.txt
@@ -0,0 +1,22 @@
+Your setup may be different to mine, but here is a cheesheet with some of the commands I use the most while messing with/setting up my server.
+All these commands assume you are a user with username "alex" and your home directory is in the default location.
+
+cd - change directory - moves through the file tree
+ Example: cd /home/alex/
+ Moves into your home directory, you usually have read, write, and execute access to everything in this directory.
+ Example: cd ~
+ Same as above, ~ is a substitue for your home directory, so if you were a user named "bob", 'cd ~' would move to /home/bob/
+ Example: cd ..
+ Moves to the parrent directory, so if you were in /home/alex/documents, and you executed 'cd ..' you would now be in alex/home/
+
+ls - list directory - lists the contents of the current directory you are in
+ Example: ls
+ If you are currently in /home/alex/, lists all files and folders contained in /home/alex/
+ Example: ls /home/alex/pictures/
+ Lists all the files and folders in /home/alex/pictures/
+ Example: ls -l
+ Lists all files and folders, with their permissions, owner, and group displayed
+
+Executeing bash scripts: Simply type the name of the bash script, for example if you are in /home/alex/, and the 'ls' command shows a file called do_something.sh, simply type './do_something.sh' you can also use absolute file path(/home/alex/do_something.sh) or relative filepath (~/do_something.sh, assuming you are the user alex)
+
+Viewing files: Remember that you are on a command line, which means you can't view things like pictures without downloading them to your local computer and using a image viewing program to view them. That said, text files can be viewd with 'cat filename'
diff --git a/to-do/gmodserver.txt b/to-do/gmodserver.txt
new file mode 100644
index 0000000..8d45710
--- /dev/null
+++ b/to-do/gmodserver.txt
@@ -0,0 +1,27 @@
+There's lots of stuff that is modified on this server, I will briefly explain the gist of the changes
+
+My test server, Alec's Otherwise, is running on a Debian Linux server. Instructions for installing gmod dedicated server on linux can be found here:
+http://wiki.garrysmod.com/page/Linux_Dedicated_Server_Hosting
+There is a saved version of the webpage (saved 1/1/2016) in
+wintersurvival2/to-do/notes-resource/Linux Dedicated Server Hosting - Garry's Mod.htm
+
+using the fallowing starting script:
+located at /home/steam/server_1/run_server.sh
+---------------------------run_server.sh----------------------------------------
+
+#update the server with the code from queue branch
+cd garrysmod/gamemodes/wintersurvival2/
+sudo git checkout master
+sudo git merge queue
+cd ../../../
+
+#run the gmod server
+./srcds_run -game garrysmod -disableluarefresh +maxplayers 28 +map ws_abandon_night +gamemode wintersurvival2
+
+-----------------------end run_server.sh----------------------------------------
+
+As the script might suggest, gamemodes/wintersurvival2 is a git directory that is symlinked to another user's directory that I use to manage all the git directories.
+
+Additionally, this server will not automatically refresh lua code (doing so breaks the gamemode slightly) so that I can checkout and merge code while the server is running. (this can be reset by remove the -disableluarefresh flag)
+
+as an additional note, I usually run the script from a tmux session, so that I can log in remotely later and still attach to the tmux session
diff --git a/to-do/website.txt b/to-do/website.txt
new file mode 100644
index 0000000..16c6773
--- /dev/null
+++ b/to-do/website.txt
@@ -0,0 +1 @@
+There is a website that goes with the beta server currently located at cogarr.net