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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Release
- Edit version.rb
- git commit -m "Release X.Y.Z.P"
- rake release
- git push