You Can Set Up A
WordPress Dev Environment
on
Windows
Who am I and why am I up here?
- 40+ years in IT
- Beginning with software and now returning to it
- Freelance web developer and business owner
- Started with Microsoft -
Why change now?
You may be familiar with ...
Goal for Session
- create environment on a Windows 10 box that:
- Offers familiar Windows UI
- Robust toolset
- Duplicatable
- Low cost
- Includes features such as:
- Local build & testing
- Smart file editing
- FTP connection to hosting server
- Version Control
- Deployment
This is What I Have in Mind
- DesktopServer
- Sublime Text 3
- FileZilla FTP Client
- Local versioning
- Cloud-based Remote repository / backup
- Minimal headache deployment
This is What I Have in Mind
Let's Jump In
Note to self:
Talk about the tools
Editor Options
-
Sublime Text 3 - Eval Free / Buy $70
Editor Options
Atom - Open Source / Free
Editor Options
Notepad ++ - Open Source
FTP Client - Really?
- Yes - I insist!
- FileZilla - Just go get it
- No editing files using the dashboard editor
Setup DesktopServer
- "Buy" Free Version
- Download & Install
- Windows Installs to c:\xampplite
Setup DesktopServer
Build First Site - WordPress 5 Minute Install
- Start DesktopServer (run as administrator??)
c:\xampplite\DesktopServer.exe
Code Editing / Development
- Open Local Project Folder in Sublime Text
- Save Sublime Project
- Edit PHP and CSS as needed - Save
- create files as needed - Save
- PHP aware - syntax highlighting
Test Changes
- Save files!
- Switch to Browser
- Refresh
- Repeat ad nauseam
Time For A Little Control
- Jump to SourceTree
- create a local repository
- Add your project folder
Remainder of Git process
left as an exercise for the viewer ;-)
A Little Deployment Anyone? Basic Assumptions
- New WordPress Installation Exists on Host
- Plugin WP Migrate DB Pro Installed and Activated
on local and remote sites
- Migrate DB Pro handles the handshake between installations
- Authenticates connection
- Uploads DB to remote server
- Performs Search & Replace on db table entries
- Connect to remote site via FTP
Sigh
Lather · Rinse · Repeat
Lingering Thoughts
anyone?
anyone?