Clone project
with SSH
git clone git@github.com:symcmf/json-api-bundleor with HTTPS
git clone https://github.com/symcmf/json-api-bundleand switch current brunch to 'develop'
git checkout developRun composer
composer installSetup homestead/vagrant environment in project folder:
./vendor/bin/homestead makeEdit Homestead.yaml:
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): Or generate and paste your SSH keys.
authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsaSet type option that tells Homestead to use the Symfony nginx configuration.
sites: - map: homestead.app to: "/home/vagrant/yourprojectfolder/web" type: symfonyRun vagrant
vagrant upRun migrations
./bin/db.shIf you will get error "Permission denied" you have to change access rules with next command
sudo chmod -R 777 bin/After it, browse http://192.168.10.10, you should see the main page of application. Or add to your hosts file
192.168.10.10 homestead.appand browse http://homestead.app.
Uh oh!
There was an error while loading. Please reload this page.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Latest commit | ||||