Skip to content

Commit

Permalink
add documentation steps for starting a new data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
wkdewey committed Mar 1, 2023
1 parent d4a8144 commit 3f78ce0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion docs/1_setup/collection_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

### Step 1: Create a new collection directory

Install datura, then run:
Install datura by creating a new directory with a `Gemfile` with
`gem "datura", git: 'https://github.com/CDRH/datura', branch: "dev"`
Make a file `.ruby-version` with the ruby version required by Datura (currently 3.1.2).
Run `bundle install` and make sure Datura install successfulle.
Then run:

```
setup
Expand Down
11 changes: 6 additions & 5 deletions docs/1_setup/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Open up the `config/public.yml` file in your new collection and add or change th
```yaml
default:
collection:
es_index
es_path
es_user
es_password
es_index:
es_path:
es_user:
es_password:
api_version:
```
(The options es_user and es_password are needed if you are using a secured Elasticsearch index.)
(The options es_user and es_password are needed if you are using a secured Elasticsearch index.) api_version is required with the new API schema, please specify "2.0", or "1.0" if using with a legacy repository that uses the old fields.
If there are any settings which must be different based on the local environment (your computer vs the server), place these in `config/private.yml`.

Expand Down

0 comments on commit 3f78ce0

Please sign in to comment.