Permalink
Browse files

marginally less bad setup docs

  • Loading branch information...
1 parent bf92af2 commit e5e2f2b345f490ed4060e39a06d67e1a790af3e5 Carlos Scheidegger committed Nov 6, 2012
Showing with 25 additions and 10 deletions.
  1. +5 −0 code/setup
  2. +20 −10 doc/README.md
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+mkdir -p data/userfiles
+mkdir -p data/history
+mkdir -p tmp
View
@@ -11,17 +11,27 @@ type make.
# Running
-The following starts a pretty basic instance of RCloud serving on port 8080:
+The following sets up and starts a pretty basic instance of RCloud serving on port 8080:
+ $ R # or R64, depending on your flavor
+
+ > install.packages("Rserve",,"http://rforge.net", type='source')
+
+ > install.packages(c("FastRWeb", "knitr", "hash", "markdown"),,
+ c("http://r.research.att.com"))
+ > quit()
+
$ cd $RCLOUD_ROOT
+ $ code/setup
$ ROOT=`pwd` code/start
-You will need several packages first, though. You can install them in R using:
-
- install.packages(c("Rserve", "FastRWeb", "knitr", "markdown"),,
- c("http://rforge.net", "http://r.research.att.com"))
+If the markdown package is not available for your R version in CRAN,
+you can use devtools:
-(the second URL can be any CRAN mirror)
+ $ R
+ > install.packages("devtools")
+ > library(devtools)
+ > install_github("markdown", "rstudio")
# Directory structure
@@ -31,15 +41,15 @@ You will need several packages first, though. You can install them in R using:
- htdocs: static content served by RServe's HTTP server.
-- userdata: this is where all user-generated content will be stored
- (right now only contains userdata/userfiles and userdata/history, as
+- data: this is where all user-generated content will be stored
+ (right now only contains data/userfiles and data/history, as
described below)
-- userdata/userfiles: this is where the user's content is stored. Right now
+- data/userfiles: this is where the user's content is stored. Right now
it's trivial file-system-backed storage, but could become more
complicated as we dip our toes into versioning waters.
-- userdata/history: currently holds history buffers for users, but this will go
+- data/history: currently holds history buffers for users, but this will go
into userfiles in the future as user's interactions become more
structured.

0 comments on commit e5e2f2b

Please sign in to comment.