Skip to content

Commit 78dbeb9

Browse files
authored
Merge pull request #168 from terraref/feature
Shiny App Ready for Initial Deploy
2 parents d4ea1c6 + bdd3d47 commit 78dbeb9

8 files changed

Lines changed: 546 additions & 121 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
### A Shiny app for visualizing trait data in BETYdb
2+
3+
#### Time series box, line plots and heatmaps for every available season
4+
5+
#### Dependencies
6+
7+
- shiny
8+
- shinythemes
9+
- lubridate
10+
- dplyr
11+
- ggplot2
12+
- timevis
13+
- rgeos
14+
- leaflet
15+
- cronR
16+
17+
```{r echo=FALSE}
18+
lapply(list('shiny', 'shinythemes', 'lubridate', 'dplyr', 'ggplot2', 'timevis', 'rgeos', 'leaflet', 'cronR'),
19+
install.packages)
20+
```
21+
22+
to install cron (Ubuntu)
23+
24+
```sh
25+
apt-get update
26+
apt-get install cron
27+
```
28+
29+
#### Setup and Notes
30+
31+
* Data are cached in a file `cache.RData` and updated using the cronR R interface to cron
32+
* Access to BETYdb remote access requires ssh tunnel
33+
* `ssh -Nf -L 5432:localhost:5432 bety6.ncsa.illinois.edu`
34+
* requires access, which can be [requested here](https://identity.ncsa.illinois.edu/join/TU49BUUEDM)
35+
* Set the following environment variables
36+
37+
- bety_dbname ('bety')
38+
- bety_password
39+
- bety_host ('localhost')
40+
- bety_port ('5432')
41+
- bety_user ('bety')

0 commit comments

Comments
 (0)