https://github.com/araines/wp.araines.net
Static serverless WordPress site for my blogs
https://github.com/araines/wp.araines.net
blog wordpress
Last synced: about 2 months ago
JSON representation
Static serverless WordPress site for my blogs
- Host: GitHub
- URL: https://github.com/araines/wp.araines.net
- Owner: araines
- License: mit
- Created: 2022-11-26T17:59:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T12:52:19.000Z (about 2 years ago)
- Last Synced: 2025-01-22T08:44:47.711Z (over 1 year ago)
- Topics: blog, wordpress
- Language: Shell
- Homepage: https://araines.net
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# araines.net
Static serverless WordPress site for my personal blog
## Initial setup
1. Initialise terraform
```
terraform init
```
2. Set up OIDC with GitHub actions
```
terraform apply -target module.wordpress.module.github-oidc
```
3. Set up initial WordPress build
```
terraform apply
```
4. Start up WordPress (see below) and navigate to the admin interface
5. Change the admin password
6. Customise the theme (TwentyTwentyFour)
### Customising the Theme
Change the style to Onyx.
#### Typography
TODO
#### Colours
TODO
#### Layout
Content width to 860px.
#### Individual Stylebook Elements
Quote style to have medium size font.
Code style to have small size font.
## Starting / stopping WordPress
To start up WordPress, run the "Launch" workflow in GitHub Actions, with the variable set to 1.
To shutdown, set the variable to 0.
## Site publication
### Normal publication
To publish the site statically, login to `wp-admin`, then go to WP2Static and press Generate Static Site.
## Accessing WordPress
Go to the WordPress dynamic website at [wordpress.araines.net](http://wordpress.araines.net).
The admin interface can be accessed by [wp-admin](http://wordpress.araines.net/wp-admin).
## Troubleshooting
### Generate static site: Unable to fetch URL contents
During the static site generation, if it gets a 500 error with the last log being "Unable to fetch URL contents" then try clearing the caches.