|
1 | 1 | # codeforphilly.org |
2 | 2 |
|
3 | 3 | Code for Philly's customizations to laddr |
4 | | - |
5 | | - |
6 | | -# How do I pull in from https://github.com/CodeForPhilly/cfp-mockup ? |
7 | | - |
8 | | -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 |
9 | | - |
10 | | -```bash |
11 | | -# ch dir into cfp-mockup |
12 | | -mkdir -p ../codeforphilly.org/html-templates/designs && |
13 | | -\ |
14 | | -cp index.html ../codeforphilly.org/html-templates/designs/site-2021-08.tpl && |
15 | | -sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl && |
16 | | -sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl && |
17 | | -sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl && |
18 | | -sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/designs/site-2021-08.tpl && |
19 | | -\ |
20 | | -cp volunteer.html ../codeforphilly.org/html-templates/volunteer.tpl && |
21 | | -sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/volunteer.tpl && |
22 | | -sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/volunteer.tpl && |
23 | | -sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/volunteer.tpl && |
24 | | -sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/volunteer.tpl && |
25 | | -\ |
26 | | -cp sponsor.html ../codeforphilly.org/html-templates/sponsor.tpl && |
27 | | -sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/html-templates/sponsor.tpl && |
28 | | -sed -i -e 's/index.html/\//g' ../codeforphilly.org/html-templates/sponsor.tpl && |
29 | | -sed -i -e 's/volunteer.html/\/volunteer/g' ../codeforphilly.org/html-templates/sponsor.tpl && |
30 | | -sed -i -e 's/sponsor.html/\/sponsor/g' ../codeforphilly.org/html-templates/sponsor.tpl && |
31 | | -\ |
32 | | -cp -a assets ../codeforphilly.org/site-root/ && |
33 | | -cp -a css ../codeforphilly.org/site-root/ && |
34 | | -cp -a html ../codeforphilly.org/site-root/ && |
35 | | -cp -a js ../codeforphilly.org/site-root/ && |
36 | | -sed -i -e 's/https:\/\/codeforphilly.org//g' ../codeforphilly.org/site-root/js/search.js && |
37 | | -cp -a videos ../codeforphilly.org/site-root/ |
38 | | -``` |
0 commit comments