mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-24 22:18:00 +01:00
Added vagrant-bindfs plugin to fix sessions in dev.
This commit is contained in:
parent
cdce0ee0cc
commit
bd58dad1c2
4 changed files with 9 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -21,6 +21,7 @@ Thumbs.db
|
||||||
.tmproj
|
.tmproj
|
||||||
*.esproj
|
*.esproj
|
||||||
nbproject
|
nbproject
|
||||||
|
*.iml
|
||||||
|
|
||||||
# Dreamweaver added files
|
# Dreamweaver added files
|
||||||
_notes
|
_notes
|
||||||
|
@ -46,4 +47,4 @@ node_modules
|
||||||
composer.phar
|
composer.phar
|
||||||
composer.lock
|
composer.lock
|
||||||
atlassian-ide-plugin.xml
|
atlassian-ide-plugin.xml
|
||||||
_ide_helper.php
|
_ide_helper.php
|
||||||
|
|
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -7,4 +7,5 @@ Vagrant.configure("2") do |config|
|
||||||
config.vm.provision "shell", path: "vagrant/install.sh"
|
config.vm.provision "shell", path: "vagrant/install.sh"
|
||||||
|
|
||||||
config.vm.synced_folder "../pony.fm.files", "/vagrant-files"
|
config.vm.synced_folder "../pony.fm.files", "/vagrant-files"
|
||||||
end
|
config.bindfs.bind_folder "/vagrant", "/vagrant"
|
||||||
|
end
|
||||||
|
|
0
artisan
Normal file → Executable file
0
artisan
Normal file → Executable file
|
@ -1,10 +1,12 @@
|
||||||
# Starting a dev environment
|
# 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:
|
1. Ensure that you have the following hosts entries:
|
||||||
> 192.168.33.11 pony.fm.local
|
> 192.168.33.11 pony.fm.local
|
||||||
> 192.168.33.11 api.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**.
|
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**.
|
||||||
|
|
||||||
|
@ -25,4 +27,4 @@ Pony.fm uses nginx, php-fpm, redis, and MySQL. You can modify the configuration
|
||||||
|
|
||||||
If you need to change any other configuration file on the VM - copy the entire file over into the vagrant folder, make your changes, and update the "copy-and-restart-config.sh" script to copy the modified config back into the proper folder. All potential configuration requirements should be represented in the vagrant folder **and never only on the VM itself** as changes will not be preserved.
|
If you need to change any other configuration file on the VM - copy the entire file over into the vagrant folder, make your changes, and update the "copy-and-restart-config.sh" script to copy the modified config back into the proper folder. All potential configuration requirements should be represented in the vagrant folder **and never only on the VM itself** as changes will not be preserved.
|
||||||
|
|
||||||
**NOTE:** currently, Redis's configuration is not reloaded by the "copy-and-restart-config.sh"
|
**NOTE:** currently, Redis's configuration is not reloaded by the "copy-and-restart-config.sh"
|
||||||
|
|
Loading…
Reference in a new issue