Skip to content

AQ2Chile/aq2chile-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configs Deploy

This is a small capistrano app that's meant to help with the deployment of config files for q2 servers.

Requirements:

  • Ruby
  • Bundler

Setup:

Assuming you already have ruby and bundler installed:

  1. Install capistrano gem:
  bundle install #install capistrano
  1. Setup your config/deploy.rb and config/deploy/production.rb accordingly.

NOTE: I'm not gonna teach you how to use capistrano here, so go to the official docs: http://capistranorb.com/

Usage:

All the relevant files for the q2 server are inside the q2base folder. Since I'm managing an action server, most of my files are inside the action folder, but this may as well be some other mod folder.

When the files get synced they follow the structure inside the q2base folder. Meaning that the q2base folder acts as a representation for your q2 root folder.

    cap -T # Lists all available tasks

    # deploy files and link them
    cap production deploy

    # start the watcher for the gameserver launcher
    cap production server:start_watcher

All the tasks can be changed inside the lib/capistrano/tasks folder.

NOTE: The files inside q2base/shared should be uploaded manually to <deploy_folder>/shared, they are there just as examples, but they contain sensitive passwords that should not be committed to any repository.

Use your favorite ftp client for this.

Development

  1. Fork it.
  2. Do your thang.
  3. Push a PR.
  4. Ping me.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elfenars/q2_server_query.

License

The gem is available as open source under the terms of the MIT License.

Releases

No releases published

Packages

No packages published

Languages