@cfpb/ccdb5-ui 2.4.6 → 2.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,10 +52,15 @@ This application depends on the [Public Complaints API](https://github.com/cfpb/
52
52
  to be available.
53
53
 
54
54
  For local development, you will need to the following:
55
- * [Get a local version of consumerfinance.gov running](https://github.com/cfpb/consumerfinance.gov#quickstart)
56
- * [Fill the local Elasticsearch with data](https://github.com/cfpb/ccdb-data-pipeline)
57
- * _(optional)_ [Install the API](https://github.com/cfpb/ccdb5-api)
58
- * Once it is cloned, make sure the website knows the plugin is available. Look under "Loading Sibling Projects, option 2" [here](https://cfpb.github.io/consumerfinance.gov/development-tips/)
55
+
56
+ * [Run consumerfinance.gov locally (which includes the API)](https://github.com/cfpb/consumerfinance.gov#quickstart).
57
+ * [Fill the local Elasticsearch with data](https://github.com/cfpb/ccdb-data-pipeline/blob/main/INSTALL.md).
58
+
59
+ ***Note:*** The Public Complaints API runs as part of consumerfinance.gov, but you can run the API as an independent app:
60
+
61
+ * Ensure the consumerfinance.gov python container is stopped with `docker-compose stop python`.
62
+ * [Install the API](https://github.com/cfpb/ccdb5-api#setup--running) and run it with `python manage.py runserver`.
63
+ * Edit [`env.js`](https://github.com/cfpb/ccdb5-ui/blob/main/config/env.js#L104) to point `ccdbApiUrl.dev` to the locally running API (likely at `http://localhost:8000/`).
59
64
 
60
65
  ###### Code-Build cycle
61
66
 
@@ -83,13 +88,6 @@ yarn run test
83
88
 
84
89
  Enter `Control-C` to exit interactive watch mode
85
90
 
86
- To run the Python unit tests, first install [Tox](https://tox.readthedocs.io/en/latest/),
87
- and then run:
88
-
89
- ```bash
90
- tox
91
- ```
92
-
93
91
  ## Cypress integration tests
94
92
 
95
93
  Our browser-based tests check base-line user operations for [consumer complaint search](https://www.consumerfinance.gov/data-research/consumer-complaints/search/). The tests are run against JSON fixtures from the [ccdb5-api](https://github.com/cfpb/ccdb5-api).