Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Add more directions to running tests in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kos committed Jul 20, 2015
1 parent 4c1b9e1 commit c7a9c44
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,25 @@ This project very much under active development, and is currently not as reusabl
## Configuring for Development

First, enter any virtualenv, etc, that you plan on developing in.

> pip install -e .
> pip install "file://$(pwd)#egg=django-bulbs[dev]"

## Running tests:

First, you'll need an ElasticSearch server running on http://localhost:9200, then install `requirements-dev.txt`, and:

> py.test tests/

## Building docs

> cd docs
> make html
```bash
$ pip install -e .
$ pip install "file://$(pwd)#egg=django-bulbs[dev]"
```

## Running Tests

1. Clone [django-elastimorphic](https://github.com/theonion/django-elastimorphic) into a sibiling directory
2. Install dev requirements
```bash
$ pip install -e ".[dev]"
```
3. Run tests
```bash
$ py.test tests/
```

## Building Docs
```bash
$ cd docs
$ make html
```

0 comments on commit c7a9c44

Please sign in to comment.