# | Name | Type |
---|
1 | XAMPP | Local Database / Server |
2 | WordPress | Blogging Software |
3 | Simply Static | WordPress Plugin |
4 | GitHub Desktop | Git Version Control |
5 | GitHub Pages | Static Website Hosting |
Instructions
- Install XAMPP
- Launch the XAMPP Control Panel
Start
these servers
- Apache - web server
- MySQL - database server
- Allow access from Windows Firewall
- Should be green
- In the
htdocs
folder of where you installed XAMPP, create a folder called website-name
or something easily identifiable
Program Files/XAMPP/htdocs
XAMPP/htdocs
- Create a GitHub repository
- Create a new branch:
gh-pages
- Settings
- General
- Default branch:
gh-pages
- On main repo page
- Click the gear icon next to the “About” and “No description, website, or topics provided”
- Write a description
- ✅ Use your GitHub Pages website
- Save changes
- Click the link, and it should open up to something like:
username.github.io/project-name/
- Clone the repo to your desktop with GitHub Desktop into that folder (example:
website-name
)
- Download and Extract WordPress
- Copy and paste the
wordpress
folder CONTENTS into the project folder (example: website-name
)
- On your browser:
https://localhost/website-name/
- Should load the WordPress installation wizard
- Choose a language
- On your browser:
https://localhost/phpmyadmin/
- Databases tab
- Create database - name your database
- Back to the browser tab:
https://localhost/website-name/
- Let’s go!
- Database Name
- Username:
root
- Password: none
- Database Host:
localhost
- Submit
- Run the installation
- Site Title, Username, Password, Email
- Install WordPress
- Log In
- Update the Appearance:
https://localhost/website-name/wp-admin/themes.php
- Add posts
- Add the plugin: Simply Static
- Manage the settings
- General Section
- Replacing URLs
- Absolute URLs
- Scheme - https://
- Host - example:
username.github.io/project-name/
(should be open in your browser, from step 17)
- Include the following in
Additional Files and Directories
- Write their full path on separate lines for:
- `xampp/htdocs/website-name/wp-content
xampp/htdocs/website-name/wp-content/uploads
- Save Settings
- Deploy Section
- Deployment Method
- Local Directory
- Path: the path of your project folder
- Write the full path for:
xampp/htdocs/website-name/public_static/
- Save Settings
- Generate Button
- Wait
- Generate Static Files
- Activity Log
- Check the messages for any missing files
- Fetched 500 of 500 pages/files
- Transferred 500 of 500 files
- Diagnostics
- Check this for any errors
- Open GitHub Desktop
- Add a commit message
- Commit files
- Push to Origin
- Wait for GitHub Pages to deploy
- View website on the example:
username.github.io/project-name/
For New Changes
- Launch the XAMPP Control Panel
Start
these servers
- Apache - web server
- MySQL - database server
- Make your WordPress changes / edits / updates
- Simply Static Plugin
- Generate Button
- Wait until finished
- Add a commit message on GitHub Desktop
- Push to origin
- View website on the example:
username.github.io/project-name/