From f583b1d55aac090510587dfdd9072fa8fe686494 Mon Sep 17 00:00:00 2001 From: Catherine Farman Date: Fri, 21 Aug 2015 10:45:25 -0400 Subject: [PATCH] test environment variable with readme updates --- README.md | 19 +++++++++++++++++-- test/.env_SAMPLE | 2 ++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 test/.env_SAMPLE diff --git a/README.md b/README.md index 2bfefd887..bd28aca13 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,19 @@ "Owning a Home" is an interactive, online toolkit designed to help consumers as they shop for a mortgage. The suite of tools gives consumers the information and confidence they need to get the best deal. It takes the consumer from the very start of the home-buying process, with a guide to loan options, terminology, and costs, through to the closing table with a closing checklist. +Contents +* [Dependencies](#dependencies) + * [Virtualenv & Virtualenvwrapper Python modules](#virtualenv--virtualenvwrapper-python-modules) + * [Autoenv module](#autoenv-module) + * [Sheer & Elasticsearch](#sheer--elasticsearch) + * [Node, Grunt, Bower, Browserify](#node-grunt-bower-browserify) +* [Configuration](#configuration) +* [Workflow](#workflow) +* [Browser tests](#browser-tests) +* [API tests](#api-tests) +* [Load tests](#load-tests) +* [Contributions](#contributions) + ## This project is a work in progress Nothing presented in the issues or in this repo is a final product unless it is marked as such or appears on www.consumerfinance.gov/owning-a-home. Some copy or formulas may be replaced with dummy text to ensure that we follow any and all privacy and security procedures at the CFPB. All the designs, layouts, and evolution of our decision making process are accurate. @@ -138,7 +151,7 @@ To index your content from WordPress: 1. In the repo directory, copy the `.env_SAMPLE` file and name it `.env`. This can be done from the command line with the following command: ``` - $ cp .evn_SAMPLE .env + $ cp .env_SAMPLE .env ``` 2. Add your WordPress URL in place of wordpress.domain on line 1 of `.env`. @@ -149,7 +162,9 @@ To index your content from WordPress: $ workon OAH $ sheer index [--reindex] ``` - +4. In the `test` directory, copy the `.env_SAMPLE` file and name it `.env`. This can be done from the command line with the following command: + ``` + $ cp test/.env_SAMPLE test/.env ### Rate Checker and Mortgage Insurance The Rate Checker and Mortgage Insurance are JavaScript applications for checking mortgage interest rates and mortgage insurance premiums. Currently owning-a-home's Rate Checker and Loan Comparison are powered by private APIs that returns mortgage rate, county data, and mortgage insurance premiums. **Without these APIs configured, the website will still load but the Rate Checker and Loan Comparison applications will NOT be available.** diff --git a/test/.env_SAMPLE b/test/.env_SAMPLE new file mode 100644 index 000000000..f23187107 --- /dev/null +++ b/test/.env_SAMPLE @@ -0,0 +1,2 @@ +workon oah-tests +echo 'Virtualenv "oah-tests" activated' \ No newline at end of file