Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #2321 from gittip/vagrant-nfs-support
Browse files Browse the repository at this point in the history
Adding NFS support to supported platforms
  • Loading branch information
seanlinsley committed Apr 26, 2014
2 parents 3c43fbc + cd6eae1 commit 5ffce31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ Table of Contents
- [Dependencies](#dependencies)
- [Building](#building)
- [Launching](#launching)
- [Docker](#docker)
- [Vagrant](#vagrant)
- [Docker](#docker)
- [Help!](#help)
- [Configuration](#configuration)
- [Modifying CSS](#modifying-css)
Expand Down Expand Up @@ -105,8 +106,6 @@ running `make`, then add
for more information](http://stackoverflow.com/a/22355874/347246)):

$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future



Building
--------
Expand Down Expand Up @@ -200,12 +199,19 @@ Vagrant
-------
If you have vagrant installed, you can run gittip by running `vagrant up` from the project directory. Please note that if you ever switch between running gittip on your own machine to vagrant or vice versa, you will need to run `make clean`.

If you're using Vagrant for the first time you'll need [Vagrant](http://www.vagrantup.com/) and [VirtualBox](https://www.virtualbox.org/) installed. If you're on Linux you'll need to install `nfs-kernel-server`.

The Vagrantfile will download a custom made image from the internet. If you have a slow internet connection, you can download a local copy of this file, by running:

`curl http://downloads.gittipllc.netdna-cdn.com/gittip.box`

Once downloaded, vagrant will use this local file automatically when you run `vagrant up`. Vagrant is setup to use key based SSH authentication, if you're prompted for a password please use `vagrant`.

**Ubuntu users:** If you experience problems, please see [this
issue](https://github.com/gittip/www.gittip.com/pull/2321#issuecomment-41455169).
As mentioned, you will also need to be wary of projects that are nested
in encrypted directories.

Docker
------------

Expand Down
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_url = File.exist?("gittip.box") ? "file://gittip.box" : "http://downloads.gittipllc.netdna-cdn.com/gittip.box"

# Sync the project directory and expose the app
config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}"
config.vm.network "private_network", ip: "172.27.36.119"
config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}", type: "nfs"
config.vm.network :forwarded_port, guest: 8537, host: 8537

# TODO: Pin apt-get packages to the same versions Heroku uses
Expand Down

0 comments on commit 5ffce31

Please sign in to comment.