ailur-website/README.md

26 lines
1.3 KiB
Markdown
Raw 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
- Open your Wordpress instance **on your local machine** to import the XML
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`
- Import the XML in any Wordpress 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.
`./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