From 4c8d4b12913fbb69c1c90ddc2e9851fcf7e022db Mon Sep 17 00:00:00 2001 From: szTheory Date: Fri, 7 Jun 2024 11:41:07 -0400 Subject: [PATCH] Build badge to re-trigger workflow --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 1c52170..9f8faf3 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,41 @@ ## Development +[![Trigger Netlify Build](https://github.com/szTheory/programmingnewsletters.com/actions/workflows/main.yml/badge.svg)](https://github.com/szTheory/programmingnewsletters.com/actions/workflows/main.yml) + +### Installing Perl and Carton deps + +Perl + +```bash +asdf plugin add perl https://github.com/ouest/asdf-perl.git #Install Perl plugin for asdf +asdf install perl 5.22.1 #Install latest Perl version at time of writing +asdf global perl 5.22.1 #Use as default Perl +perl --version #Confirm latest version is installed properly +``` + +cpanminus module installer (needed for Carton) + +```bash +curl -L https://cpanmin.us > cpanm_setup.pl #Download cpanm setup script +perl cpanm_setup.pl App::cpanminus #Run cpanm setup +``` + +Perl deps needed before Carton + +```bash +cpanm XML::Parser +cpanm DateTime +``` + +Carton (Perl lib dependencies) + +```bash +cpanm Carton #Install Carton +asdf reshim perl #Set up binary "shim" (command line shortcut) +carton install #Install module deps for project from the cpanfile +``` + ### Building the site To build the site: