Add shinyapps.io deployment instructions so I remember how.

This commit is contained in:
Matt
2016-04-15 14:05:49 -05:00
parent 881c635ad7
commit 4adb986de4
2 changed files with 13 additions and 4 deletions

View File

@ -3,10 +3,22 @@ R functions for single-entry-ish bookkeeping reports.
Work in progress.
##Input format
## Input format
Uses Google Sheets for data entry, R for reporting and analysis.
|Date|Ref No.|Payee|Memo|Class|Debit|Credit|Bank|Reconciliation Status|Balance|Type|Account|
|--- |--- |--- |--- |--- |--- |--- |--- |--- |--- |--- |--- |
## Deployment to shinyapps.io
Authorize your computer (run once):
`install.packages('rsconnect')`
`library(rsconnect)`
`rsconnect::setAccountInfo(name='<USERNAME>',
token='<TOKEN>',
secret='<SECRET>')`
Deploy from project root (run to update)
`deployApp()`

View File

@ -2,6 +2,3 @@
# TODO return a list, not series of named variables
journal1<-gsheet2tbl("https://docs.google.com/spreadsheets/morestuffhere1")
journal2<-gsheet2tbl("https://docs.google.com/spreadsheets/morestuffhere2")
# Shiny.io application name
shiny.io<-ledgerr-shiny