-
Clone project
-
$ composer install
; -
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 (http://laravel.com/docs/5.0/homestead#installation-and-setup):
authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa
-
Generate jwt secret
php artisan jwt:secret
; -
Run vagrant
vagrant up
-
Under vagrant from project root
$ php artisan migrate && php artisan db:seed
. -
Finally, browse http://192.168.10.10, you should see the main page of application.
To install the json-api demo run the command:
php artisan make:demo
{--force : Overwrite existing files by default}
Once it is up and running, go to the following address in your browser:
http://192.168.10.10/api/v1/skills
To run the tests:
vagrant ssh
cd /vagrant
vendor/bin/phpunit