TechAtNYU / tech-nyu-site

https://techatnyu.org
8 stars 5 forks source link

Add vagrant support #47

Closed rgardner closed 9 years ago

rgardner commented 10 years ago

PR for issue #33.

Vagrantfile and bootstrap script added. Need to modify them to match the server as close as possible. On my mac, the image backgrounds don't change, making the site much harder to develop in.

rgardner commented 10 years ago

@abhiagar What's the Tech@NYU.org server setup with? I'd like to match production as close as possible or at least get my dev environment to render the site better.

AbhiAgarwal commented 10 years ago

I'm referencing the one I wrote, but I used chef to install the recipes.

https://github.com/AbhiAgarwal/vagrant-tnyu

For the local dependencies the installation is:

# The following gems are necessary for compiling the Sass files.
sudo gem install sass
sudo gem install sass-globbing
sudo gem install compass --pre
sudo gem install breakpoint

# For compiling the LiveScript and Sass files.
sudo npm install gulp -g
cd site
sudo npm install

We also use nginx rather than apache, and our configuration will be written on it. I'm not too sure about if Ethan is using nginx on the techatnyu.org server, but it will use it eventually.

The tech stack is: "nodejs" or "nvm" "rvm" or "ruby"