- Php7
- Composer
- Gulp
- Npm
- Vagrant
- Virtual Box
- Laravel Installer
laravel new blog
composer require "laravel/homestead" --dev
composer update
vendor\\bin\\homestead make
folders:
- map: "C:/Users/USER/Code/project"
to: "/home/vagrant/project"
type: nfs
mount_options: [nolock,vers=3,udp,noatime]
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
hhvm: true
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
schedule: true
mariadb:true
vagrant up
vagrant ssh
https://github.com/winnfsd/vagrant-winnfsd
hhvm --version
it should show something like this.
HipHop VM 3.14.1 (rel)
Compiler: tags/HHVM-3.14.1-0-gd99b370804b7e0234ab794869d1ba1774c848e85
Repo schema: ac0c6851ba5643ce00ae67bbe67c50973efd65d6
cd /etc/cron.d
add this
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
check if maria db installed
mysql -u homestead -p
password: secret
it should show something like
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 41818
Server version: 10.1.14-MariaDB-1~xenial mariadb.org binary distribution
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
add ip address based on your Homestead.yml file
192.168.XX.XX domainname.app
npm install
gulp