-
Clone project
-
Run the following command to set up project:
bin/setup.sh -e vagrant
-
Setup homestead/vagrant environment:
./vendor/bin/homestead make
Remove the following lines from Homestead.yaml if you don't have this SSH keys on your machine (https://laravel.com/docs/master/homestead#installation-and-setup):
authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa
-
Run vagrant
vagrant up
-
Run the following command to prepare project (like run migration, build frontend):
EMBER_ENV=development bin/post-install.sh
-
Add facebook settings to .env:
FACEBOOK_APP_ID=1 FACEBOOK_APP_SECRET=1 FACEBOOK_REDIRECT_URI=http://192.168.10.10/
-
Finally, browse http://192.168.10.10, you should see the main page of application.
Add new database to the particular list in Homestead.yaml:
databases:
- homestead
- homestead_test
Reload vagrant and run phpunit
:
vendor/bin/phpunit