This repository is responsible for most content visible on the website techworkerscoalition.org. The site is made with a static site generator called 11ty using Node.js.
- Install the dependency manager pnpm
- Install dependencies:
pnpm install --frozen-lockfile - Start a local server:
pnpm run serve - Open a browser to http://localhost:8080
- When users fill out the /subscribe form, they are invited to check out our community guidelines
- After submitting the form, they are redirected to /welcome which explains next steps.
- Under the hood, the website uses "Netlify form" and if it's not spam, will trigger automated integration requests to ActionNetwork (newsletter subscription), Slack (for manual verification)
In addition to GitHub, you can update the website via DecapCMS.
- Future improvements can include navigation links and static pages, for example the Merchandise page
- Feedback on making the DecapCMS more intuitive and friendly is always welcome. Create a GitHub issue, contact support@techworkerscoalition.org or ping us in our Slack channel #twc-infrastructure
- For local development, visit this tutorial (run
npx decap-serverfrom a different shell)
If your TWC chapter is not mentioned in the website, update the chapter page. Internal files can also be stored in chapter_local folder
- TWC mentioned in the media or update? Create a media entry, with date format in
YYYY-MM-DD - Update entry in
_data/press.yml