Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #666

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,19 @@ Run Celery
python manage.py celery worker -l DEBUG

## Populate with data
This is particularly applicable to running [ember-share](https://github.com/CenterForOpenScience/ember-share), an interface for SHARE.
This is particularly applicable to running [ember-share](https://github.com/CenterForOpenScience/ember-share), an interface for SHARE.

In a separate terminal, navigate to SHARE directory and activate the same virtual environment.

Harvest data from providers, for example

./manage.py harvest com.nature --async
./manage.py harvest com.peerj.preprints --async

Insure all requirements.txt needed for this project are properly installed, this may take some time.

Pass data to elasticsearch with `runbot`. Rerunning this command will get the most recently harvested data. This can take a minute or two to finish.

./manage.py runbot elasticsearch
pip install -r dev-requirements.txt
./manage.py elasticsearch

## Building docs

Expand All @@ -70,4 +73,7 @@ Pass data to elasticsearch with `runbot`. Rerunning this command will get the mo
### BDD Suite

behave

## Problems with Postgress

If you run into problems with Postgress, restart Docker. If that doesn't work proceed to reset Docker by going to Docker -> preferences -> reset (bomb icon)