README.md in rancher-api-beta-0.8.0.pre.beta vs README.md in rancher-api-beta-0.8.1

- old
+ new

@@ -186,9 +186,24 @@ puts container.execute(['bundle', 'exec', 'rake', 'db:create', 'db:migrate']).response ``` ## Development +### Generate models from API schema + +```bash +cd vagrant-rancher && vagrant up + +``` + +### Record VCR Cassettes +If you added tests and want to record the VCR cassettes, run: + +```bash +./scripts/vcr_record.rb +GENERATE_CODE=true bin/discover_api +``` + ### Console To load environment with pry run `pry -I lib -r rancher/api` Then execute `Rancher::Api.setup!` to configure rancher credentials from environment variables and load models.