nanobox-io / nanobox-guides

Guides for using languages and frameworks with Nanobox
https://guides.nanobox.io
MIT License
11 stars 19 forks source link

Update CakePHP framework guide #81

Closed narendravaghela closed 6 years ago

narendravaghela commented 6 years ago

CakePHP Guide - #15

danhunsaker commented 6 years ago

Awesome. Let me know when you've made all the changes you've got in mind, and I'll review this one again/merge it in!

narendravaghela commented 6 years ago

Thanks @danhunsaker By the way. I am getting an error while setting up the Nanobox on my Windows machine. Below is the output. I selected Docker at the time of installation.

D:\Nanobox\nanobox-cakephp>nanobox run
Preparing environment :

--------------------------------------------------------------------------------
+ HEADS UP:
+ This is the first build for this project and will take longer than usual.
+ Future builds will pull from the cache and will be much faster.
--------------------------------------------------------------------------------

Building runtime :
  ! Pulling nanobox/build image

Error   : Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Context : failed to build the code -> failed to pull the build image -> failed to pull docker image (nanobox/build)

Enter to continue:

Could you help with that please?

danhunsaker commented 6 years ago

I can give better help on Slack, but it appears the Hyper-V guest system actually running Docker for you (for those unaware, Docker relies on features in the Linux kernel to function, so there's always a VM involved if the host system isn't Linux already) is having connectivity issues. I imagine you've gotten this error fairly consistently when running it? Normally a retry or three will be enough to get past the issue.

narendravaghela commented 6 years ago

Hi @danhunsaker I am done with 2 steps: CakePHP from Scratch and Add a database. I have tested them on Mac and Windows, and by following those steps, we can successfully setup our local CakePHP application.

Please review and suggest your inputs.