ailur-website/README.md

28 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2024-10-14 17:11:18 +01:00
# ailur-website
2024-10-14 17:19:20 +01:00
The Ailur website Wordpress source code
2024-10-14 17:27:54 +01:00
To use, you can do one of two things:
Option 1 (not reliant on ailur.dev)
2024-10-14 17:19:20 +01:00
- Download the latest continuous release to "bootstrap" the site
- Start a local webserver and run it at port 80
2024-10-14 17:31:48 +01:00
- Open your Wordpress instance **on your local machine** and install the theme [Idea Flow](https://en-gb.wordpress.org/themes/idea-flow/)
2024-10-14 17:31:07 +01:00
- Import the XML on the instance
2024-10-14 17:29:19 +01:00
- (may not be needed depending on your wordpress version) Use a plugin like Auto Upload Images to move the bootstrapped images to your Wordpress instance
2024-10-14 17:19:20 +01:00
2024-10-14 17:27:54 +01:00
Option 2 (requires an active internet connection)
- Run `chmod +x ./search-and-replace.sh`
- Run `./search-and-replace.sh`
2024-10-14 17:31:48 +01:00
- Open your Wordpress instance and install the theme [Idea Flow](https://en-gb.wordpress.org/themes/idea-flow/)
2024-10-14 17:31:07 +01:00
- Import the XML on the instance
2024-10-14 17:29:19 +01:00
- (may not be needed depending on your wordpress version) Use a plugin like Auto Upload Images to move the bootstrapped images to your Wordpress instance
2024-10-14 17:27:54 +01:00
This roundabout method is needed because the Wordpress XML file does **not** bundle images.
Our Wordpress instance is configured to fetch all images from itself, which exported as localhost, meaning you must move all the "localhost" images over to your instance.
2024-10-14 17:31:48 +01:00
`./search-and-replace.sh` replaces any instances of images to links to [the ailur website](https://ailur.dev), allowing you to bootstrap the server from our active production server instead.
2024-10-14 17:19:20 +01:00
FOSS Wordpress sites are a pain :P