2024.fossy.us/README.md

44 lines
1.6 KiB
Markdown
Raw Normal View History

# Mirror of https://2024.fossy.us
Generated with:
```
2025-02-12 06:19:32 +00:00
cd ..
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent https://2024.fossy.us/
2025-02-12 06:19:32 +00:00
cd 2024.fossy.us
```
You may then want to remove the dashboard links, since the login won't work, as well as the link to buy tickets.
```
find -name '*.html' -print0 | xargs -0 sed -i 's|.*Dashboard</a>||g'
find -name '*.html' -print0 | xargs -0 sed -i 's|.*Get your ticket!.*||' attend/tickets/index.html
2025-02-12 06:41:42 +00:00
find -name '*.html' -print0 | xargs -0 sed -i 's|<header class="clearfix d-print-none">|<header class="bg-washed-yellow pa2"><div class="container"><strong>Archived:</strong> This is an archive from the 2024 conference. See <a href="https://fossy.us/">fossy.us</a> for the latest event.</div></header><header class="clearfix d-print-none">|'
2025-02-12 06:19:32 +00:00
rm dashboard.html
rm -rf tickets/
rm -rf account/
2025-02-12 06:41:42 +00:00
```
On the web server:
```
git clone https://f.sfconservancy.org/Conservancy/2024.fossy.us.git
sudo mv 2024.fossy.us/ /var/www/
sudo chown -R www-data:www-data /var/www/2024.fossy.us/
sudo cp /etc/apache2/sites-available/420-2023.fossy.us.conf /etc/apache2/sites-available/420-2024.fossy.us.conf
sudo sed -i 's/2023/2024/g' /etc/apache2/sites-available/420-2024.fossy.us.conf
```
2025-02-12 06:48:56 +00:00
After setting up the 2025 DNS and pointing the 2024 to the archive server, create an HTTPS certificate:
2025-02-12 06:41:42 +00:00
```
sudo certbot certonly --verbose --domains 2024.fossy.us --agree-tos --email=sysadmin@sfconservancy.org
```
2025-02-12 06:48:56 +00:00
If you need to update the web server with changes from the repository:
```
cd /var/www/2024.fossy.us
sudo -u www-data git pull
```