fbpx
NeONBRAND Marketing & Business Development Experts
Contact Us
Site Navigation
  • Home
  • SEO
  • Social Media
  • Websites
  • Consulting
  • Contact Us
    • Las Vegas, NV
    • St. George, UT
    • Cedar City, UT
    • Provo, UT
  • Extras
    • About
    • Team
    • Portfolio
    • Website Hosting
    • Blog
    • Ebooks
    • Digital Marketing Dictionary

Three Steps to Setup an Already Built Roots Bedrock/Sage Site

Originally posted: October 5, 2018 by Kenny Eliason. Leave a comment
Scroll to Next
Setting Up Roots Bedrock Site
Get Updates to Your Inbox!
This field is for validation purposes and should be left unchanged.

Home » Websites » WordPress Tips and Tutorials » Three Steps to Setup an Already Built Roots Bedrock/Sage Site

Reading Time: 2 minutes
  • Twitter
  • Facebook
  • LinkedIn

We love Roots. All of our WordPress sites are built using their three tools, Trellis, Bedrock, and Sage. For a lot of WordPress guys, all of these items are Greek. So if you’ve received a WordPress site and wondered what to do with it, hopefully this guide will help you set it up on your server.

First, some requirements:

  • Server with LEMP stack (we recommend Digital Ocean)
  • Access to the Git Repo
  • Copy of the Database
  • Copy of the Uploads folder

Once you have the necessary components, follow these steps to get your new site online.

1. Setup Server for New Site

I’m not going to go into how to set up a new site on your server since every server is different… just add a new domain to your server like you would normally do. Your web root should be set as the /web (ie. example.com/web) folder in order to work with Bedrock. Then you need to add a new database to your server and import the database you received. Make sure to note the database name, user and password associated with the database.

2. Import Git Repo and Install Bedrock and Sage

In Terminal, navigate to the newly added domain’s root folder. Once there, you’ll need to clone in your repository:

git clone [email protected]:username/repo-name.git

Once cloned, from the same folder run:

composer install

Next, you’ll need to set up your .env file. To do create your .env file, run the following command from the same folder:

cp .env.example .env

Open the newly created .env file and update all the variables starting with the database information, domain name and salts.

Navigate to /web/app/themes/{sage-theme-name} and run the following command:

composer install && yarn && yarn build

3. Upload your “Uploads” folder

I prefer to use rsync to upload the uploads folder, since the folders can get rather large in size and can take literally forever using regular (S)FTP. If you choose to use rsync, and you’re using ssh shortcuts, the command to rsync could look something like this. From the folder containing the uploads folder:

rsync -vrz uploads ssh.shortcut:example.com/web/app

Otherwise just upload the uploads folder to the /web/app folder overriding the default uploads folder set up by the composer installer.

  • Twitter
  • Facebook
  • LinkedIn
Published: October 5, 2018
Updated: November 18, 2022
Headline: Three Steps to Setup an Already Built Roots Bedrock/Sage Site
Image: Setting Up Roots Bedrock Site Height: Width:

Publisher: NeONBRAND https://neonbrand.com
NeONBRAND https://neonbrand.com/app/themes/neonbrand/dist/images/logo-gray_280c67fe.png 98 120

« How to Use a Backlink Checker
Add Gutenberg Full and Wide Width to Your Theme »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

About the Author
Kenny Eliason
Kenny Eliason
Having grown up the son of a marketer, the skills of the trade are pumping through his blood. When you couple that with his programming and computer knowledge, you get an explosive combination. Kenny has been an avid digital marketer for over 9 years now, often being the first to recognize the hottest trends coming to the market. In his free time, Kenny loves downhill mountain biking. He calls it his "old man sport" since BMX was what he did as a teenager and it's not quite as easy to ride those little bikes anymore. Kenny is also a huge technology enthusiast, specifically when it comes to Apple products - did someone say, fanboy? Those close to him are often asking for help solving tech-related problems which often results with them saying, "man, you can fix anything!"
Search
Search
Blog Categories
  • Instagram Marketing (6)
  • E-Commerce Support (1)
  • Keywords for SEO (3)
  • WordPress Tips and Tutorials (17)
  • LinkedIn Marketing (2)
  • Consulting (15)
  • Websites (12)
  • Content for SEO (33)
  • Link Building for SEO (6)
  • Marketing Strategy (60)
  • Twitter Marketing (6)
  • Facebook Marketing (33)
  • Local SEO (13)
  • Business Consulting (35)
  • The Kurt & Kenny Podcast! (13)
  • Web Development (4)
  • Video Marketing (10)
  • Uncategorized (1)
  • Website Design (21)
  • Social Media Marketing (94)
  • Search Engine Optimization (82)
  • Home
  • Search Engine Optimization
  • Social Media
  • Website Design
  • Business Consulting
  • Digital Marketing
  • Video Marketing
  • Email Marketing
  • WooCommerce Development
  • Traditional Advertising
  • Retail Marketing
  • Dentist Marketing
  • Hotel Marketing
  • Medical Marketing
NeONBRAND Newsletter
Don't live with FOMO. Get subscribed to our newsletter and never worry about missing the awesomeness ever again.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

(702) 706-NeON
  • Las Vegas, NV
  • St. George, UT
  • Cedar City, UT
  • Provo, UT
  • NW Las Vegas, NV
  • Sitemap
  • © 2023 NeONBRAND. All Rights Reserved.