Has anybody managed to set up bedrock wp sites on devilbox?
Could you please provide some more info on what this is exactly and where the pain points are setting this up?
Hi
Apologies, i gave up too soon. I managed to figure it out. I couldn’t get my head around custom vhost per domain. Have it working now. Still working on reverse proxy to serve media from staging/production sites.
I’ll attempt to write up the process once I’m more comfortable for others to get started.
Regards
Brenton
OK sounds good. Not sure if you found this already, but just in case a few links to the relevant documentation:
- https://devilbox.readthedocs.io/en/latest/vhost-gen/customize-specific-virtual-host.html
- https://devilbox.readthedocs.io/en/latest/reverse-proxy/reverse-proxy-with-https.html
Let me know if any of this is unclear and what parts should be improved, if so
UPDATE: my mistake was this step:
- inside bedrock directory run ln -s web …/files
The correct one is
- inside project directory run ln -s bedrock/web files
==========
Good morning everyone, I am trying to use Bedrock for local development but I can’t make it works.
My Devilbox settings are:
- vHost docroot dir: files
- vHost config dir: .devilbox
- vHost TLD: *.loc
- web server: apache
My steps are:
- create a directory called www.lab
- inside it run composer create-project roots/bedrock
- create the database
- create the .env file with the database values
- inside bedrock directory run ln -s web …/files
If I try to go to https://www.lab.loc it give me a 403 Forbidden error.
Please can someone help me?