The repository provides a scaffold for building a Docker image for running RStudio.
# Build a Docker image:
make build
# Create an alias for convenience:
make alias >> ~/.zshrc
# Go to an arbitrary directory:
cd /path/to/some/project
# Start a container:
rstudio
# Build a Docker image and push to Container Registry:
make -f Makefile.cloud build
# Create an alias for convenience:
make -f Makefile.cloud alias >> ~/.zshrc
# Create a virtual machine in Compute Engine:
rstudio create
# Start the machine:
rstudio start
# Open a shell:
rstudio shell
# Open the web interface:
open http://localhost:8787
# Suspend the machine:
rstudio suspend
# Resume the machine:
rstudio resume
# Stop the machine:
rstudio stop
# Delete the machine:
rstudio delete