hackoregon / hack-university-data-architecture

Hack University Strategic Data Architecture Course 2017 - Instructor: Scott Lewis (scottslewis)
6 stars 1 forks source link

vagrant box flavors #18

Open sanjuroj opened 7 years ago

sanjuroj commented 7 years ago

I'd like to make a proposal for the Vagrant boxes that we're creating:

  1. We create a simple base box that includes Miniconda, PostGres, and anything else we this is really fundamental across many use cases (Jupyter? R?) or are tricky to install. These installs could be included in the Vagrantfile.
  2. We create several flavors of the installPackages.sh script that add discipline specific packages and programs for e.g. data-sciences, web frameworks, etc. These would get run after the Vagrant has been spun up.
  3. We look into packaging these different flavors and sharing them over DAT, since they're too big for GitHub.

Positives:

  1. We could keep the base Vagrant install relatively stable and small.
  2. We limit the amount of stuff different groups of people have to install to get up and running.
  3. We divide the discipline specific installations into separate scripts, so a change for one discipline doesn't affect everyone else.
  4. Distributing pre-configured boxes makes start-up even quicker.

Negatives:

  1. How likely is it going to be that discipline specific installs are going to be so different that they need different install scripts?
  2. [I'm sure there's more, add one!]
sanjuroj commented 7 years ago

Just pinging the people who have contributed to this so far @scottslewis @znmeb @JohnTasto, but anyone should feel free to comment.

znmeb commented 7 years ago

My scripts in linux-laptop-setup are modular and will run in a Vagrant box. At some point we need to coordinate so all the versions are the same, but let's not have two or three different "ground truths" ... everybody use the same stuff if at all possible.

znmeb commented 7 years ago

Can I close this? We have a Vagrant box now in Google Drive.