Skip to content
cormac brady edited this page May 30, 2016 · 1 revision

Requirements

  • Ruby, preferbly 2.2, but other versions might work. You should use ruby-build to install Ruby.
  • A Steam API key for user sign in
  • Memcached
  • A Source game dedicated server installation, only tested with TF2 on linux for now.
  • Gameserver started with -port PORTNUMBER -autoupdate in the startup line

Installation

  1. Make sure you've installed the requirements.
  2. Review the yaml files in the config directory.
  3. Enter your Steam API key in config/initializers/steam.rb: STEAM_WEB_API_KEY = your_api_key_here
  4. Install the required gems using bundler: gem install bundler && bundle
  5. Edit the seed data in db/seeds.rb
  6. Change the value of variable chdir in config/thin.yml to the path to your app: chdir: /path/to/the/application
  7. Setup and migrate the databases: rake db:create db:migrate db:seed RAILS_ENV=production
  8. Start the webserver: thin -C config/thin.yml start
  9. Add exec reservation.cfg to the server.cfg of the gameserver
Clone this wiki locally