Deploying Bedrock Sites

I’m just getting into Bedrock after familiarizing myself with Sage. Many of my clients are on shared hosting. I was wondering if Bedrock’s deployment process is possible/recommended with shared hosting or if you think I’d be better off just using Sage and my current deployment process, which looks like this:

My advice is to get the clients off shared hosting and on to VMs.

You get lots of benefits - security, control, flexibility, performance.

Thanks, I’ll check it out.

Got it working.

Seems like my workflow has evolved once again.

Just added the following to roles -> deploy -> defaults -> main.yml

project_pre_build_commands_local:
   - path: "{{ project.local_path }}/web/app/themes/csv"
     cmd: bower install
   - path: "{{ project.local_path }}/web/app/themes/csv"
     cmd: gulp --production

Thanks again for your help, and for Bedrock and Sage in general.

1 Like

Only thing I’d recommend is overwriting project_pre_build_commands_local in your group_vars. Just makes it a little easier to see where your customizations are and potentially merge in upstream changes with less conflicts.

It really depends on your shared hosting and its features.

Ansible/Cap deploys should be possible if you have:

  • SSH
  • Git
  • Ability to symlink
  • Ability to set custom VHost document root
2 Likes

Thanks, Scott. That’s the info I was looking for. Also, your screencasts have been super helpful. Looking forward to one on Bedrock.

1 Like

Got it, thanks. Ansible is amazing…

1 Like

For anyone else who wasn’t sure how to get INTO the VirtualBox, it’s

ssh -p vagrant@localhost

password vagrant.

Or just vagrant ssh from the same directory as the Vagrantfile.

3 Likes