Skip to content

Commit c06eb82

Browse files
committed
Added instructions for installing BETYdb locally using docker per terraref/documentation#153
1 parent 9c5a3c6 commit c06eb82

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

traits/07-betydb-sql-access.Rmd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Accessing Traits w/ PostgreSQL"
3+
author: "David LeBauer"
4+
date: "`r Sys.Date()`"
5+
output: html_document
6+
---
7+
8+
## On the workbench:
9+
10+
will be derived from https://github.com/pi4-uiuc/2017-bootcamp/blob/master/content/post/2017-05-30-databases-and-sql.Rmd#with
11+
12+
## Installing the database locally
13+
14+
This is truly an easter egg:
15+
16+
You can run the entire database locally, with daily imports:
17+
18+
```sh
19+
docker run --name betydb -p 5432:5432 terraref/betydb-postgis
20+
```
21+
22+
Now it will appear that you have the entire trait database running at localhost on port 5432 just like if it were installed on your system!

0 commit comments

Comments
 (0)