diff --git a/.github/workflows/k8s-deploy.yml b/.github/workflows/k8s-deploy.yml index 1f3981d3..7a3e557f 100644 --- a/.github/workflows/k8s-deploy.yml +++ b/.github/workflows/k8s-deploy.yml @@ -8,7 +8,7 @@ on: branches: [ develop ] env: - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCKER_REGISTRY: ghcr.io DOCKER_PACKAGE: site-composite diff --git a/.gitignore b/.gitignore index 5ca0973f..9f4667eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .DS_Store - +# i think these -e files come from sed +*.tpl-e +*.js-e diff --git a/README.md b/README.md index 4bac6156..c35fdfb4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,38 @@ # codeforphilly.org 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 + +```bash +# 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/ +``` diff --git a/docs/development/add-project.md b/docs/development/add-project.md new file mode 100644 index 00000000..bf314fcc --- /dev/null +++ b/docs/development/add-project.md @@ -0,0 +1,51 @@ +# Add a project + +Use this template to add a new project to `site-root/home.tpl`: + +```html + +
+``` diff --git a/html-templates/designs/site-bootstrap4.tpl b/html-templates/designs/site-bootstrap4.tpl new file mode 100644 index 00000000..ab1b6445 --- /dev/null +++ b/html-templates/designs/site-bootstrap4.tpl @@ -0,0 +1,153 @@ + + + + + + + + {block "meta-info"} + {include includes/site.meta-info.tpl} + {/block} + + {* now use {$dwoo.parent} on subpages to automatically fill in the site name *} +
+
+
+
+
+
+
+
+
+
+ Code for Philly is a nonprofit organization made up of proactive community members and volunteers in the city of Philadelphia. Our mission is to use technology, data, and design as a means to engage our community. We want to make a positive difference in the present and future of our city through citizen-driven ideas and projects.
+
+
+ Interested? Contact us at hello@codeforphilly.org or join our Slack workspace.
+
+
+ The way to volunteer with Code for Philly is to start contributing to one of our projects. Here is the + process to + follow in order to volunteer with Code for Philly.
+Our website is the best place to find a current list of projects. You can even filter projects by cause, + technology used, and project stage to find the best project for you. For example, let’s say you are + interested + in health projects. Play the video to see a way to find health projects.
+ +You can also attend our 101 meetings to learn about active projects. If you aren’t + sure if + the project needs your particular skills, or have questions about that particular project, the best + first step + is to contact the Project Lead. You can do that by going to the project’s page on our website, and + clicking on + the members to see what contact information they’ve published. You can hover over their circles to + get their + titles as well.
+
+ Having trouble figuring out what projects are active, finding contact information for + a + project lead, or which project might be best for you? Email hello@codeforphilly.org
+ +It is not required to attend a meeting in order to volunteer. We recommend attending one + of our 101 + Meetups in order to learn more about Code for Philly, but you can skip this step and go + straight to a + project if you desire!
+ +Our 101 meetings talk about who we are, what we do, and how to get involved. They are a + great place to + ask questions about CFP, and also just to meet others in the community!
+ +We have other types of meetings as well - hack days, socials, etc. Everyone is welcome to + attend any + meeting, you do not have to attend any particular meeting in any particular order.
+ +You can find a schedule for all of our upcoming meetings/events on our Meetup page. Make + sure you RSVP + for our meetings on that page.
+Once you’ve identified a project you are interested in, log into our Slack and find + the + channel for the project. The channel is always listed on the project description page
+
+ Having trouble logging into Slack or finding the correct Slack channel? Email hello@codeforphilly.org.
+ +Code for Philly uses Slack as its main form of communication. Much of our organization’s + communication + outside of meetings occurs on Slack. Every project at Code for Philly has a Slack + channel, and that is + the primary place where communication occurs for the project. You will be missing out if + you don’t join + the Slack, so this should be one of the first things you do when you decide to join!
+ + Here’s how to join the Code for Philly Slack: +This is the last step in the process - once you have joined the Slack channel, post a message. The + message + should include a brief intro for yourself, and, if applicable, what particular way you want to help with + the + project. If you are willing to help in any way, you can say that too!
+ +Too shy to post in the Slack channel? Email hello@codeforphilly.org and we can make an introduction to + the team + leader for you.
+