Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #62 from gregoryfoster/regulations-core-61
Browse files Browse the repository at this point in the history
#61: deprecate mentions of example_settings.py
  • Loading branch information
cmc333333 authored Dec 15, 2016
2 parents dd846a8 + 9066c9c commit b31233c
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ regulations-core
An API that provides an interface for storing and retrieving regulations,
layers, etc.

This repository is part of a larger project. To read about it, please see
This repository is part of a larger project. To read about it, please see
[http://eregs.github.io/](http://eregs.github.io/).

## Features
Expand All @@ -35,8 +35,8 @@ The following libraries are optionally supported

* coverage - reports on test coverage
* django-haystack - An interface for accessing Solr, Whoosh, and other search
engines. This is only required if not using Elastic Search. Unfortunately,
we are constrained to using the pre-rewrite version of haystack (though
engines. This is only required if not using Elastic Search. Unfortunately,
we are constrained to using the pre-rewrite version of haystack (though
that may change in the future)
* django-nose - plugin for Django which allows for nose integration
* mock - makes constructing mock objects/functions easy
Expand Down Expand Up @@ -92,8 +92,8 @@ $ python manage.py runserver

You'll be running (without search capability) using SQLite.

By default, you'll be using the `example_settings.py`. We recommend local
modification be made in a `local_settings.py` file.
By default, you'll be using the settings defined in `regcore/settings/base.py`.
We recommend local modification be made in a `local_settings.py` file.

## Apps included

Expand Down Expand Up @@ -155,7 +155,7 @@ Remember to run migrations.
### Elastic Search For Data and Search

If *pyelasticsearch* is installed, you can use Elastic Search for all of
your needs. For a search endpoint, use *regcore_read.views.es_search.search*
your needs. For a search endpoint, use *regcore_read.views.es_search.search*
and use the following backend configuration:

```python
Expand All @@ -170,8 +170,8 @@ BACKENDS = {

## Settings

While we provide sane defaults in the `example_settings.py` file, we recommend
these defaults be overridden as needed in a `local_settings.py` file.
While we provide sane default settings in `regcore/settings/base.py`, we
recommend these defaults be overridden as needed in a `local_settings.py` file.

If using Elastic Search, you will need to let the application know how to
connect to the search servers.
Expand Down Expand Up @@ -221,7 +221,7 @@ is used as follows, from the root `regcore` directory.
$ python manage.py import_reg -r <regulation-number> -s <path/to/stub/root>
```

For an example of JSON content, see `[regulations-stub](https://github.com/cfpb/regulations-stub/)`
For an example of JSON content, see [`regulations-stub`](https://github.com/cfpb/regulations-stub/)


## Running Tests
Expand All @@ -242,5 +242,3 @@ via
```bash
$ flake8 .
```


0 comments on commit b31233c

Please sign in to comment.