Skip to content

Commit

Permalink
Merge pull request CenterForOpenScience#158 from erinspace/hotfix/REA…
Browse files Browse the repository at this point in the history
…DME_update

Clarify README step for copying local-dist to local.py, closes CenterForOpenScience#156
  • Loading branch information
fabianvf committed Apr 20, 2015
2 parents 7952c28 + 14abd2f commit 8e96156
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Expand Up @@ -62,13 +62,20 @@ $ sudo apt-get install rabbitmq-server
```
### Settings

You will need to have a local copy of the settings
You will need to have a local copy of the settings. Copy local-dist.py into your own version of local.py -

```
cp scrapi/settings/local-dist.py scrapi/settings/local.py
```

### Running the scheduler
If you'd like to be able to run all harvesters, you'll need to [register for a PLOS API key](http://api.plos.org/registration/).

Add the following line to your local.py file:
```
PLOS_API_KEY = 'your-api-key-here'
```

### Running the scheduler (optional)

- from the top-level project directory run:

Expand Down Expand Up @@ -98,6 +105,8 @@ or, just one with
$ invoke harvester harvester-name
```

Note: harvester-name is the same as the defined harvester "short name".

Invove a harvester a certain number of days back with the ```--days``` argument. For example, to run a harvester 5 days in the past, run:

```bash
Expand Down

0 comments on commit 8e96156

Please sign in to comment.