alexanderdejong.com

Wordpress Developer

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

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

Should you give your Admin password to a developer?

Posted on February 15, 2015 Leave a Comment

When you are hiring a developer to develop a (child) theme you may be asked for admin access to your WordPress website. A few options will come to mind, you can create a new account and give him login details or hand him access to your account, but what is really the best thing to do?

You could have him setup a new site for you

You might want to create a separate copy of your site. This way you can have your developer work on a non-live version of the site and it will not interrupt the user experience. In the WP community we actually call developers who work on live sites “coding cowboys”. It’s really not the best way to go!

You should have the developer work in their own digital environment

The best thing to do would be to have them develop on their own domain and when it’s ready then they can just send you a backup of the site or upload it live without much interference for the user!

If you do decide to give complete access then be VERY careful. If the theme + plugin developer is not qualified then you risk having all your work and content ruined. Any seasoned developer will always make a full backup of the site before changing any code!

A developer can also do most of the work offline, but I think its better to do it on a live server configuration because by using the same configuration you can be sure that everything will work very well!

Filed Under: WP Business Tagged With: coding, copying, development

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