Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing the cloud #2

Open
mdsumner opened this issue Jan 16, 2017 · 3 comments
Open

testing the cloud #2

mdsumner opened this issue Jan 16, 2017 · 3 comments

Comments

@mdsumner
Copy link
Member

Go to the cloud (it's currently in test mode, will be rebuilt soon 2017-01-16).

  • launch a VM, choose the flavour (RStudio or Python)
  • upload pre-requisite files, using the File Management tab
  • launch the Shell and run commands
  • launch RStudio (or Python)
  • node - currently runs in Melbourne
  • files - both RStudio and Python include file browser and shell on the raw machine, so uploading files is no problem, and the R and Jupyter IDEs also allow file upload
  • flavours - the RStudio and Jupyter machine is " Debian GNU/Linux 8 (jessie)", has git 2.1.4 in the path but not sqlite3 (we probably don't need it)

R

  • installed dplyr (so a user package with C++ is compiled, no problems)
  • installed ggplot2, can make gg plots
  • just for kicks I ran python and python3 in the shell on the RStudio instance

Python

  • created a new notebook, ran this code in a cell:
import numpy;
import matplotlib; 
1 + 1

Prerequisites files for attendees

To get the files for the lessons, go to the lesson e.g. http://swcarpentry.github.io/shell-novice/ then click the Setup tab at the top.

I would use RStudio to then upload that zip, it will unzip it. Otherwise, use the file uploader tab for the cloud, and the zip will be in the home folder.

@tjdett
Copy link

tjdett commented Jan 16, 2017

If you want sqlite3 in the Python image, you can have it. I quickly rewrote it yesterday because Jupyter's new tokens feature had broken it. You should be able to sudo apt-get update && sudo apt-get install sqlite3, but given HDF5 & NetCDF support is already in there, I see no problem with adding sqlite3 as well.

@mdsumner
Copy link
Member Author

mdsumner commented Jan 24, 2017

Notes

  • start new instance, RStudio, instructor node "sprightly pilotbird"
  • start shell, test sqlite3 (unavailable as expected)
  • install sqlite3, test that
  • save instance
  • launch saved instance (now FIXED 2017-01-25 was stuck on STARTED)
  • share the image, request confirmation of 1) launch 2) start RStudio 3) start shell 4) start sqlite3

@mdsumner
Copy link
Member Author

Test again

  • start new instance, RStudio, instructor node "happy bustard"
  • start shell, test sqlite3 (unavailable as expected)
  • install sqlite3, test that
  • save instance
  • launch saved instance into training "euphoric robin", start sqlite3, RStudio, install ggplot2
  • share the image, request confirmation of 1) launch 2) start RStudio 3) start shell 4) start sqlite3

euphoric robin - created January 25, 2017 3:40 PM +11:00
- launch from save was available by 3:47PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants