README.md in convox_installer-1.0.7 vs README.md in convox_installer-1.0.8
- old
+ new
@@ -48,11 +48,11 @@
You can see a complete example in [`examples/full_installation.rb`](./examples/full_installation.rb).
## Config
Config is loaded from ENV vars, or from saved JSON data at
-`./.installer_config`. The script will save all of the user's responses into `./.installer_config` (in the current directory).
+`./.installer_config.json`. The script will save all of the user's responses into `./.installer_config.json` (in the current directory).
## Customize the Config Prompts
You can set your own config prompts in your own installation script, by setting a `@prompts` instance variable. You can extend the default config prompts like this:
@@ -133,10 +133,10 @@
Makes sure that the `convox` and `aws` CLI tools are installed on this system. If not, shows installation instructions and exits.
#### `prompt_for_config`
-Loads config from ENV vars, or from saved config at `./.installer_config`.
+Loads config from ENV vars, or from saved config at `./.installer_config.json`.
If any config settings are missing, it prompts the user for input. Finally, it shows a summary of the config, and asks the user if they want to proceed with the installation. If the user enters `y` (or `yes`), the `prompt_for_config` method completes. If they enter `n` (or `no`), we loop over every setting and let them press "enter" to keep the current value, or provide a new value to correct any mistakes.
#### `backup_convox_host_and_rack`
If there are any existing files at `~/.convox/host` or `~/.convox/rack`, this method moves these to `~/.convox/host.bak` and `~/.convox/rack.bak`.