37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
# Mirror of https://2024.fossy.us
|
|
|
|
Generated with:
|
|
|
|
```
|
|
cd ..
|
|
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent https://2024.fossy.us/
|
|
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
|
|
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">|'
|
|
rm dashboard.html
|
|
rm -rf tickets/
|
|
rm -rf account/
|
|
```
|
|
|
|
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
|
|
```
|
|
|
|
After updating the DNS, you can then create an HTTPS certificate:
|
|
|
|
```
|
|
sudo certbot certonly --verbose --domains 2024.fossy.us --agree-tos --email=sysadmin@sfconservancy.org
|
|
```
|
|
|