summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-09-07 13:31:48 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-09-07 13:31:48 +0200
commitb7d95d6598b9040ae7af60fa1b18d9501e64c6f7 (patch)
tree4156d334d882ef3eccffad1ea07f54fe47c390e4
parentb7db6ff35cf1d70c76dcaed027478b14f1efa7cd (diff)
Adds a README.
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4c36b59
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+# Tacticians Online - Server
+This is the code for the back-end of Tacticians Online, an online
+multiplayer turn-based strategy game.
+
+## Getting Started
+
+### Prerequisites
+* Erlang
+* GNU make
+* Jiffy (JSON NIFs for Erlang)
+* Tacticians Online - Data
+* Yaws
+* m4
+
+### Installing
+1. Go into the directory in which this repository was cloned.
+2. Set the DATA\_DIR variable in `./Makefile` to match the "Tacticians Online -
+ Data" directory.
+3. Copy Yaws's `yaws_api.hrl` file to the `./include/` directory.
+4. Run `$ make`.
+5. Run `$ make run_db_node`, and then `$ make run_query_node` in parallel.
+6. You should be done. If Erlang complains about node addresses, you might need
+ to set the `ERL_NAME_VS_SNAME` variable in `./Makefile` to its other value.
+
+## Screenshot (of the Client)
+![Screenshot of a battle](https://noot-noot.org/to-2018-09-07.png)
+
+## License
+Apache License 2.0 (see `./LICENSE`)