Code for Philly's customizations to laddr
How do I pull in from https://github.com/CodeForPhilly/cfp-mockup ?
To pull in from https://github.com/CodeForPhilly/cfp-mockup , you can run the below from your cfp-mockup dir if it's next to your codeforphilly.org dir. For more context, see https://github.com/CodeForPhilly/codeforphilly.org/commit/319896a4da6c4c518bf951e2739a8272bbdcd558
# ch dir into cfp-mockup
mkdir -p ../codeforphilly.org/html-templates/designs &&
\
cp index.html ../codeforphilly.org/html-templates/designs/site-2021-08.tpl &&
sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl &&
sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl &&
sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl &&
sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl &&
\
cp volunteer.html ../codeforphilly.org/html-templates/volunteer.tpl &&
sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/volunteer.tpl &&
sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/volunteer.tpl &&
sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/volunteer.tpl &&
sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/volunteer.tpl &&
\
cp sponsor.html ../codeforphilly.org/html-templates/sponsor.tpl &&
sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/sponsor.tpl &&
sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/sponsor.tpl &&
sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/sponsor.tpl &&
sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/sponsor.tpl &&
\
cp -a assets ../codeforphilly.org/site-root/ &&
cp -a css ../codeforphilly.org/site-root/ &&
cp -a html ../codeforphilly.org/site-root/ &&
cp -a js ../codeforphilly.org/site-root/ &&
sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/site-root/js/search.js &&
cp -a videos ../codeforphilly.org/site-root/