Skip to content

Instantly share code, notes, and snippets.

@mshmsh5000
Created July 18, 2017 21:31
Show Gist options
  • Save mshmsh5000/eed39e439f2b9219665e11164fb52e25 to your computer and use it in GitHub Desktop.
Save mshmsh5000/eed39e439f2b9219665e11164fb52e25 to your computer and use it in GitHub Desktop.
Homestead YAML file for code challenge
---
# You probably don't need to change this section, unless you've done fancy
# stuff elsewhere with local IP addresses.
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
# Path to your public SSH key:
authorize: ~/.ssh/id_rsa.pub
# Path to your private SSH key:
keys:
- ~/.ssh/id_rsa
# This generically maps a "Code" directory in your home directory to
# an internal directory in the Vagrant box. You'll want the `map` value
# to be the parent directory of where you checked out the Rogue project.
# In the default config below, you would have checked out Rogue to
# `~/Code/rogue`.
folders:
- map: ~/Code
to: /home/vagrant/Code
# The value of `map` here is the site address. In your `/etc/hosts` file, this
# needs to map to the IP address at the top of this file (default:
# 192.168.10.10).
sites:
- map: rogue.dev
to: /home/vagrant/Code/rogue/public
databases:
- rogue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment