Method: Fsxtrader::Application#setup
- Defined in:
- lib/fsxtrader/application.rb
#setup ⇒ Object
Creates the default config file in: ~/fsx_config.yml
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/fsxtrader/application.rb', line 54 def setup File.open(self.default_config_path, 'w') do |f| f.puts self.sample_config end puts ' Default config file has been created in: ~/.fsx_config.yml Edit this file with any text editor or run: fsxtrader edit Note: Be sure to edit your Facebook credentials in the config file! To run FSX Trader and trigger actionable trades: fsxtrader ' end |