From 4adb986de42651e195a433183b6eceaca1073ab5 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 15 Apr 2016 14:05:49 -0500 Subject: [PATCH] Add shinyapps.io deployment instructions so I remember how. --- README.md | 14 +++++++++++++- config.template.R | 3 --- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c45d980..915e557 100644 --- a/README.md +++ b/README.md @@ -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='', + token='', + secret='')` + + +Deploy from project root (run to update) +`deployApp()` diff --git a/config.template.R b/config.template.R index 7e9e694..8be8803 100644 --- a/config.template.R +++ b/config.template.R @@ -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 \ No newline at end of file