-
Notifications
You must be signed in to change notification settings - Fork 11
Installing
cormac brady edited this page May 30, 2016
·
1 revision
- 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
- Make sure you've installed the requirements.
- Review the yaml files in the
config
directory. - Enter your Steam API key in config/initializers/steam.rb:
STEAM_WEB_API_KEY = your_api_key_here
- Install the required gems using bundler:
gem install bundler && bundle
- Edit the seed data in db/seeds.rb
- Change the value of variable
chdir
in config/thin.yml to the path to your app:chdir: /path/to/the/application
- Setup and migrate the databases: rake db:create db:migrate db:seed RAILS_ENV=production
- Start the webserver:
thin -C config/thin.yml start
- Add
exec reservation.cfg
to the server.cfg of the gameserver