Got half a day and nothing to do? Level up your electronic privacy!
This is the code that powers the guide. Looking for the actual guide? Go to https://halfdaysecurity.guide!
There are several directories in this project, each for a different aspect of it:
- lib/ contains the code that does the site generation
- layouts/ contains the template for the text to fit into
- src/ contains dynamic source files like the text for the pages and the pre-compiled styles
- static/ contains any static assets to be copied as-is into dist/
- dist/ is where the output goes, so that's the directory that should get served
Clone the repo:
$ git clone https://github.com/dispatchrabbi/half-day-security-guide.git
$ cd half-day-security-guide
Install dependencies:
$ npm install
Build:
$ npm run build
See the site:
$ npx http-server -p 8888 ./dist
# or whatever little http server you want!
- Pick an issue
- Assign yourself
- Make a branch with the issue number in it (
emh/8/making-it-pretty
or whatever) - Submit a PR and get the nod
- Merge to main
The site deploys automatically on any push to main (including a merge to main via PR).