Start a new tomo project with a sample config.
$ tomo init [APP]
Set up a new tomo project named
APP is not specified, the name of the current directory will be used. This command creates a
.tomo/config.rb file relative the current directory containing some example configuration. Refer to Configuration for a detailed explanation of this file.
tomo init will make educated guesses about your project and fill in some configuration settings for you:
nodenv_install_yarnbased on whether
git_urlbased on metadata in
.git/for this project, if present
rbenv_ruby_versionbased on the version of Ruby being used to run tomo
||By default, tomo automatically determines whether to use color output based on the capabilities of the terminal. Use this option to override this behavior and force tomo to enable or disable color output.|
||Enables verbose logging output that is helpful for troubleshooting. This includes runtime information such as the environment variables on the remote host and all tomo settings. Each SSH command executed by tomo is also logged in detail.|
||Normally if a tomo command fails, a concise and helpful error message is printed. If
||Prints the help for this tomo command, similar to what you see on this page.|
$ cd my-rails-app $ tomo init ✔ Created .tomo/config.rb