Update README.md

This commit is contained in:
Tracker-Friendly 2024-10-14 17:27:54 +01:00
parent 4ba11d1b10
commit 9af815dfe0
1 changed files with 15 additions and 2 deletions

View File

@ -2,12 +2,25 @@
The Ailur website Wordpress source code The Ailur website Wordpress source code
To use: To use, you can do one of two things:
Option 1 (not reliant on ailur.dev)
- Download the latest continuous release to "bootstrap" the site - Download the latest continuous release to "bootstrap" the site
- Start a local webserver and run it at port 80 - Start a local webserver and run it at port 80
- Open your Wordpress instance **on your local machine** to import the XML - Open your Wordpress instance **on your local machine** to import the XML
- Use a plugin like Auto Upload Images to move the bootstrapped images to your Wordpress instance - Use a plugin like Auto Upload Images to move the bootstrapped images to your Wordpress instance
This is because the Wordpress XML file does **not** bundle images. Our Wordpress instance is therefore configured to fetch all images from itself, which exported as localhost, meaning you must move all the "localhost" images over to your instance. Option 2 (requires an active internet connection)
- Run `chmod +x ./search-and-replace.sh`
- Run `./search-and-replace.sh`
- Import the XML in any Wordpress instance
- Use a plugin like Auto Upload Images to move the bootstrapped images to your Wordpress instance
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.
`./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.
FOSS Wordpress sites are a pain :P FOSS Wordpress sites are a pain :P