Added vagrant-bindfs plugin to fix sessions in dev.

This commit is contained in:
Peter Deltchev 2015-05-02 02:48:57 -07:00
parent cdce0ee0cc
commit bd58dad1c2
4 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View file

@ -21,6 +21,7 @@ Thumbs.db
.tmproj
*.esproj
nbproject
*.iml
# Dreamweaver added files
_notes

1
Vagrantfile vendored
View file

@ -7,4 +7,5 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", path: "vagrant/install.sh"
config.vm.synced_folder "../pony.fm.files", "/vagrant-files"
config.bindfs.bind_folder "/vagrant", "/vagrant"
end

0
artisan Normal file → Executable file
View file

View file

@ -1,10 +1,12 @@
# Starting a dev environment
To begin development, you must do two things:
To begin development, you must do three things:
1. Ensure that you have the following hosts entries:
> 192.168.33.11 pony.fm.local
> 192.168.33.11 api.pony.fm.local
2. Run "vagrant up" from the folder in which you cloned the repository
2. Install the "vagrant-bindfs" plugin: `vagrant plugin install vagrant-bindfs`
3. Run `vagrant up` from the folder in which you cloned the repository
Once everything is up and running, you'll be able to access the site at http://pony.fm.local. You can access the MySQL database by logging into **192.168.33.11:3306** with the username of **homestead** and the password of **secret**. The pony.fm database is named **homestead**.