Getting started with Local by Flywheel as your WordPress development environment
While most websites are (naturally) hosted online, there are plenty of situations in which you may want to create a local WordPress site. For example, you might need to set up a staging environment to develop your site before it goes live, require a safe place to experiment with designs, or perform troubleshooting.
In any of those scenarios, all you’ll need is the right solution. When it comes to creating an offline WordPress site, Local by Flywheel is one of the most intuitive and powerful tools for the job. This solution makes it easy to install WordPress on your computer, clone your site, and even push your local version live.
Here’s what I’ll cover in this article:
- An overview of local website development
- An introduction to Local by Flywheel (a free app)
- A quick, three-step tutorial to get started
Let’s get started!
An introduction to local website development
If you want people to visit your website, it will have to be hosted online. In fact, one of the first things you’ll typically do when setting up a new website is to sign up for a hosting plan.
However, there are times when you’ll want to work on a ‘public-inaccessible’ website. A ‘local site,’ also known as a ‘development site,’ is a website stored on your own computer. This means no one is able to access it unless they’re logged into that specific device (and have the right credentials).
Local sites have many applications. Some of the most common include:
- Experimenting with and learning a new platform.
- Building a new site offline, so no one will see it in its half-finished state.
- Redesigning a live site, or otherwise making large-scale changes to it.
- Performing troubleshooting, to fix a hack, error, or other issue.
- Creating a site for a client, to keep it private but enable collaboration and feedback.
What’s more, you can create a permanently private local site, or make a copy of a live site so you have a version you can play around with. Once you’re happy with the changes to your local site, you can even upload them back to your live site (I’ll talk more about this later on).
Of course, to set up a local site you’ll need the right tool. There are lots of options available, including third-party solutions and applications offered by your hosting provider. Next up, let’s take a look at one of those tools.
Local by Flywheel: A development tool for WordPress sites
If you’re looking to create a local WordPress website, you can’t go wrong with Local by Flywheel.
This fully-featured tool contains everything you’ll need to set up and use local sites. It’s simple enough for beginners to use, but also offers plenty of advanced features if you want to customize the way your local environment works.
Some of Local by Flywheel’s key features include:
- One-click WordPress installations, letting you set up your local sites fast
- Local Secure Sockets Layer (SSL) support, to keep those sites safe
- Easy access to your local sites’ root files, via Secure Shell (SSH) access
- Shareable demo URLs, making it possible to show your site to select people
- Customizable environments for developers, helping you configure the way your local site runs
- The option to clone sites, export a live site to a local version, and push a local site to live hosting at Flywheel
- An Add-ons Library, allowing you to customize your local development environment with the features you need
Best of all, Local by Flywheel is completely free to use. This means you can try it out without any risks or obligations involved. Let’s see how it works in action!
How to get started with Local by Flywheel (in 3 Steps)
Fortunately, setting up Local by Flywheel and using it to manage your local sites is a straightforward process. Over the next few sections, I’m going to walk through how to start using it. The process begins with installing the tool itself.
Step 1: Install Local by Flywheel
To download Local by Flywheel, visit the website and select the Free Download button. Next, choose your platform, and enter some basic information (only the email field is mandatory):
Your download should start right away. Give it a few moments, and then run the installer file. You’ll then be taken to a start-up screen, where you simply need to select the Let’s Go! button:
This will install a few programs that are required for Local by Flywheel to work properly. The installation may take a few minutes to complete. If you receive any prompts during the process, make sure to hit Yes to permit the installer to do its job.
After, you’ll be taken straight to your new Local by Flywheel dashboard:
There are several options to choose from. You can create a new site, which I’ll talk about next. You can also select the cloud icon to connect to Flywheel’s managed WordPress hosting services, enabling you to make copies of existing sites and push local sites live.
Finally, in the top-left corner there’s an “Options” menu to let you configure various settings and preferences. However, this is optional – right now you’re ready to create your first local site!
Step 2: Create your local WordPress site
Next up, let’s create a brand-new local WordPress website. To do so, select Create a New Site in your Local by Flywheel dashboard. This will take you to a simple setup wizard, where the first step is to create a name for your site:
You may want to make this something descriptive, especially if you plan to create multiple local sites. You can always change the name of your site later on.
In addition, you can expand the Advanced Options tab to configure a few optional settings if you’d like:
Here you can set a domain and path for your local site, and choose whether to create it using a Blueprint. This last option is a handy time-saving Flywheel feature that lets you set up a site using a predetermined set of themes and plugins.
Once you’ve entered a name for your site, you can continue to the next screen:
Here, you have two options. You can choose Preferred to set up your local site using a recommended set of tools, or select Custom to configure your environment:
The Preferred option works well for most beginner users, while Custom comes in handy for developers with more specific requirements. Just keep in mind that if you go with the Custom option, you won’t be able to connect your local site to Flywheel (in order to publish it live if you so choose). It may also require downloading some additional files.
Either way, continue to the last step once you’re done here:
On this screen, you’ll create a WordPress username, a secure password, and an admin email address. Under Advanced Options, you can also specify if you’d like this installation to be a multisite setup. Then, hit the Add Site button.
After a few moments, you’ll see your new site listed in the dashboard, along with all of its information:
You can now select the Admin button to log into your site and get to work! In addition, you can always come back to this dashboard if you want to make changes to your local site’s setup or domain.
Step 3: Export your site to Flywheel
Technically, the above two steps are all you need to set up and use a local WordPress website. However, if you’re building a site that will eventually go live on Flywheel, you’ll also need to know how the process works.
To export your local site to Flywheel, you’ll need a hosting account. You can log into your account through the Local by Flywheel dashboard:
You’ll just need to enter your username and password to make the connection. After, all of your local and live sites will be listed in your Local by Flywheel dashboard.
From there, it’s a matter of a few clicks to push your local website live. Once your account is connected, you’ll have other options here as well. You can make a copy of a live site and turn it into a local site, for example. Then you can make changes, and copy them back over to the live version.
With that, you know everything you’ll need to create and manage development sites through Local by Flywheel. How you use them is up to you!
Being able to quickly create a local WordPress site offers numerous benefits. It lets you develop a new website in peace, and makes it easy to perform testing and troubleshooting without affecting your live site. Local by Flywheel enables you to do all of this easily, while offering plenty of advanced tools to enhance your local development options.
In this article, I’ve shown you how to get started with Local by Flywheel. All you’ll need to do is follow these three steps:
- Install Local by Flywheel.
- Create your local WordPress site.
- Export your site to Flywheel when it’s ready to go.
Do you have any questions about what you can do with Local by Flywheel? Let me know in the comments section below!