Move Shiny files to project root

Can't reference legderr files unless they are within the Shiny app folder. This project gets weirder and weirder, will probably need to be split eventually.
This commit is contained in:
Matt committed 2016-04-14 16:16:07 -05:00
1 parent 91369b69be
commit f3a565aa98
4 files changed
+11 -10

No files matched your search

@@ -1,7 +0,0 @@
name: ledgerr-shiny
account: mattbk
server: shinyapps.io
appId: 94541
bundleId: 420068
url: https://mattbk.shinyapps.io/ledgerr-shiny/
when: 1460668046.58897
View File
File renamed without changes.
View File
File renamed without changes.
+11 -3
View File
@@ -17,9 +17,6 @@ library(gsheet)
library(R.utils) #for sourceDirectory()
sourceDirectory("ledgerr/R")
# For Shiny
library(rsconnect)
# Pull Google sheet locations from another file (journal1, journal2, etc.)
source("config.R")
@@ -65,4 +62,15 @@ a$Net<-rowSums(a[,2:3],na.rm=T)
colSums(a[-1])
```
```{r deploy}
# See Shiny documentation for authorizing computer to deploy to shiny.io.
# For Shiny
library(rsconnect)
# Deploy
deployApp()
```