Last active
November 5, 2015 19:26
-
-
Save wouerner/b0cbaf10dbe337471ccc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer create-project laravel/laravel --prefer-dist foo2 | |
sudo vim /etc/hosts | |
add 192.168.33.11 foo2.local.dev | |
cd ~/Dev/maquina/vagrant | |
vagrant up | |
vagrant ssh | |
cd /etc/apache2/sites-available/ | |
sudo cp site_foo.conf foo2.conf | |
sudo a2ensite foo2.conf | |
sudo vim foo2.conf | |
add | |
<VirtualHost *:80> | |
ServerName foo2.local.dev | |
DocumentRoot "/var/www/foo2/public" | |
<Directory "/var/www/foo2/public"> | |
DirectoryIndex index.php | |
AllowOverride All | |
Allow from all | |
Require all granted | |
</Directory> | |
</VirtualHost> | |
sudo a2ensite foo2.conf | |
sudo service apache2 reload | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment