Rubyfox server

SmartFox Server bundled as a gem.

Gem | Source | Documentation

See http://www.smartfoxserver.com

Installation

gem install rubyfox-server

Usage

smartfox install /path/to/smartfox

smartfox configure /path/to/smartfox /path/to/template/dir

smartfox start /path/to/smartfox

Help

Commands:
  smartfox configure TARGET_DIR TEMPLATE_DIR  # Configure SmartFox Server in TARGET_DIR via TEMPLATE_DIR
  smartfox help [COMMAND]                     # Describe available commands or one specific command
  smartfox install TARGET_DIR                 # Install SmartFox Server into TARGET_DIR
  smartfox start TARGET_DIR                   # Start SmartFox Server in TARGET_DIR
  smartfox version                            # Display version of this command

Version

The version of this gem is tied to the real version of SmartFox Server.

Example: Gem version 2.3.0.x contains SmartFox Server version 2.3.0.

Version check

To enable gem version verification, add a version file to your template folder.

Example: .../version

2.16.0

If the version is not satisfied, the following output is printed:

Configuration failed!

Your rubyfox-server version: 2.15.0.0
Needed version: ~>2.16.0

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Release

  1. Edit version.rb
  2. git commit -m "Release X.Y.Z.P"
  3. rake release
  4. git push