Use your SSH key you set up with your VM to log in: ssh -i ~/.ssh/id_rsa root@your_vm_public_ipv4
. Add new user as adduser user_name
, optionally make them superuser as usermod -aG sudo user_name
.
Go to http://your_host/rstudio
and log in using the newly created username and password. Install a demo app via remotes::install_github("rwebapps/appdemo")
. Now visit http://your_host/ocpu/user/user_name/library/appdemo/
to see the demo app. Go to http://your_host/ocpu/
to explore and test various endpoints.