Development:DIRTSAND

Revision as of 16:39, 31 July 2011 by Diafero (Talk | contribs) (start of a dirtsand wiki page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page contains information about how to set up DirtSand, the "D'ni in Real-Time Server and Network Dæmon" by Zrax. It is a server compatible with the CyanWorlds.com Engine. CWE needs a server to run at all, which makes setting up DirtSand (or a compatible server) a necessary part of any CWE setup. DirtSand currently works only on Linux operating systems.

This tutorial assumes that you run the DirtSand server and the database it uses on the same machine, which will usually be the case. If you plan to use a dedicated database server, you probably know enough about Postgres and Linux do change the setup accordingly.

Git

DirtSand uses git for its source control needs. If you're already familiar with git, some of these instructions may seem obvious to you. If you're not familiar with git, it is recommended that you read through some of the excellent articles in the GitHub help area.

Dependencies

You will need to install some applications and libraries before you can build DirtSand. The package names in brackets are tested on Debian, they should be called similar on other distributions.

  • GCC 4.4+ (might work with other C++0x compliant compilers, but untested) [gcc]
  • Postgres, server and development libraries [postgresql, libpq-dev]
  • OpenSSL [libssl-dev]
  • libreadline [libreadline6-dev]
  • zlib [zlib1g-dev]
  • git (to get the sources) [git]