alexanderdejong.com

Wordpress Developer

  • Home
  • Blog
  • Projects
  • Contact
You are here: Home / Archives for bedrock

How to Install Roots Bedrock on a Digital Ocean Droplet running on Serverpilot via SSH

Posted on May 25, 2017 Leave a Comment

I assume in this post that you have already installed Serverpilot on your DigitalOcean Droplet, you have some basic Composer knowledge and that you are already connected to your server via SSH (using Putty for example).

Create an app in your Serverpilot Dashboard and install Bedrock

Start by creating a fresh app on your development server with your preffered username. Next SSH into your server and run the following command inside your app directory. I ran the following commands to get to my directory and downloaded Bedrock using the following commands:

cd /srv/users/**username**/apps/**appname**/
composer create-project roots/bedrock

Your directory should look likes this in order for the next command to work:

CHANGELOG.md   composer.lock  LICENSE.md  README.md  web
composer.json  config         public      vendor     wp-cli.yml

If your bedrock files are in a folder called bedrock. Then you can run the following command to move all the files to the /**appname**/ folder.

mv bedrock/* ./

Then run a syslink command to connect your (empty) public folder to the web folder of Bedrock.

ln -s /srv/users/**username**/apps/**appname**/web /srv/users/**username**/apps/**appname**/public

Congrats! Bedrock is now installed and now you just have to fill in your Database information in the .env file located in the main folder of your app.

Filed Under: WP Tutorials Tagged With: bedrock, development, roots.io, sage, serverpilot

Recent Posts

  • Migrating a WordPress Website Manually with Phpmyadmin, Search and Replace, DigitalOcean and Runcloud
  • How to add Total Price Calculation to your WooCommerce Product Page with AJAX
  • How to Install Roots Bedrock on a Digital Ocean Droplet running on Serverpilot via SSH
  • Linux SSH Useful Server Commands to Remember: Grep, Permissions and more.
  • How to Install Roots Sage 8.5.1 on a Digital Ocean Droplet running on Serverpilot via SSH

Find more content

Affiliate links
  • cheap shared hosting
  • low priced virtual servers only 5$
Affiliates
  • If someone buys a product then I get a commission.
  • You pay the same price using my affiliate links.
  • I can spend more time making newsletters and tutorials.
  • Thanks for visiting!

Connect with me

Recent Comments

  • Pedro Gómez on Migrating a WordPress Website Manually with Phpmyadmin, Search and Replace, DigitalOcean and Runcloud
  • Tim Delmeire on How to add Total Price Calculation to your WooCommerce Product Page with AJAX
  • Jaehyuk J Yang on How to add Total Price Calculation to your WooCommerce Product Page with AJAX
  • Alexander de Jong on A guide on customising the membership experience with Theme my Login (TML)
  • Judit Sarkany on A guide on customising the membership experience with Theme my Login (TML)

Recent Posts

  • Migrating a WordPress Website Manually with Phpmyadmin, Search and Replace, DigitalOcean and Runcloud
  • How to add Total Price Calculation to your WooCommerce Product Page with AJAX
  • How to Install Roots Bedrock on a Digital Ocean Droplet running on Serverpilot via SSH
  • Linux SSH Useful Server Commands to Remember: Grep, Permissions and more.
  • How to Install Roots Sage 8.5.1 on a Digital Ocean Droplet running on Serverpilot via SSH

Copyright © 2014 | Alexander de Jong | About | Contact | Privacy | Sitemap