docker compose up server -d
zsh: dcupd server
- Update hugo version in .env
- Update message on main sale page
- Create a new sale year by duplicating folder structure in sales
- Delete old images, excel files, csv, etc. in new sale year folder
- Update liveauction.com links in watch and bid live
- Update Sale Year in config/params
- Update the bull and heifer links in config/menu
- Update the bull and heifer links in config/params
- Update where to point to for the homepage bulls in content/_index
- Upload EPDs for bulls and Cows into Animals Airtable
- Run
npm run getData:loc
to generate the data/allData file
- Drop Excel version in directory...download button will be automatically created
- Drop CSV in directory...datatable will be automatically created. Note: make sure csv
version has
Lot #
andReg #
columns. - Images/videos:
- Drop Images into images directory
- Edit and then Run set_image_resource_metadata
to set the image information in the associated
_index.md
file.
- Add data to
data
directory in json format with three fields:headings
,options
, anddata
. options are additional Datatables options.
{
"headings": ["Lot", "Reg", "Name"],
"options": {"fixedHeader": true },
"data": [{"Lot": 1, "Reg": 123455, "Name": "Johnson"}]
}
- Add shortcode to template: (e.g.
{{< dataTable id="bulls-2020" includejs="true" data_path="sales.2020.bulls" >}}
)
find static/images/cattle/2020/bulls/*.webp -maxdepth 1 -type f > bulls-images.txt
- Edit into a json list
- Place in
data
directory
- Add data to data/supplemental/data.{yml|json}