Creating a workspace based on a vagrant file


#1

I’d like to get an environment which replicates, as closely as possible, the one described by this vagrant file: https://github.com/udacity/fullstack-nanodegree-vm/tree/master/vagrant

Would this be the best way to do this?:

  1. Create a “default” workspace
  2. Run $ wget https://raw.githubusercontent.com/udacity/fullstack-nanodegree-vm/master/vagrant/pg_config.sh
  3. Run $ sudo bash pg_config.sh

This would ensure the required packages are installed, but it wouldn’t account for any of the contents in the Vagrantfile:

However, it looks like a fairly vanilla environment setup, presumably its not too far from the default environment.

As an aside, you guys should really talk to Udacity about a partnership. They have tones of students, and it would be a nice option to be able to spin up an environment per their specs. I’m sure they would be happy to never answer another question about installing vagrant again.


#2

This is awesome. This does look like a really great way to setup your workspace so I’d move forward with this. Would be interested to hear about how you like this workflow when you try it out.


#3

The one issue I ran into, is that I needed to grant permissions in my postgreSQL schema to user ‘ubuntu’, whereas apparently that would not be needed with this vagrant setup.

Do you know how I could avoid having to do that?


#4

Right now, I don’t think there is any way around that.


#5

2017-09-08 06:28:03 ERROR 404: Not Found. How do i install when i get this kinda error