mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2024-12-12 09:14:42 -05:00
870018a8ca
Signed-off-by: Tommy <contact@tommytran.io>
32 lines
2.1 KiB
Markdown
32 lines
2.1 KiB
Markdown
# PrivSec.dev
|
|
[![Netlify Status](https://api.netlify.com/api/v1/badges/ba0d8ddc-031b-4c16-8240-9929a4ad201a/deploy-status)](https://app.netlify.com/sites/privsec-dev/deploys)
|
|
|
|
A practical approach to Privacy and Security
|
|
|
|
## Licensing
|
|
|
|
The website content (under `/content`) is under the [Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) license.
|
|
|
|
The license agreement for contributor is listed [here](/CONTRIBUTING.md).
|
|
|
|
The articles originally posted on [wonderfall.dev](https://wonderfall.dev), [akc3n.page](https://akc3n.page), and [seirdy.one](https://seirdy.one) are under the same license. Articles originally posted on [wanderingcomputerer.gitlab.io](https://WanderingComputerer.gitlab.io) are under the [Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) license.
|
|
|
|
The Hugo Framework used to create this website is under the [Apache License](https://github.com/gohugoio/hugo/blob/master/LICENSE).
|
|
|
|
The WonderMod theme used for the website and modifications made by us are under the [MIT License](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE).
|
|
|
|
## Netlify Previews
|
|
|
|
We use [Netlify](https://netlify.com) to host our website and generate previews. Simply add your articles inside of `/content` or make any modifications that you want, open a new Pull Request and a preview page will be generated for you automatically.
|
|
|
|
## Local Development
|
|
|
|
1. [Install Hugo](https://gohugo.io/getting-started/installing/)
|
|
1. Clone this repository: `git clone --recurse-submodules https://github.com/PrivSec-dev/privsec.dev`
|
|
1. Run `hugo serve` to start the local development server at (by default) `http://localhost:1313`
|
|
- Alternatively run `hugo` to simply build the site into the `/public` directory
|
|
|
|
- Run `git submodule update --merge` to update the [WonderMod theme](https://github.com/Wonderfall/hugo-WonderMod) to the version specified in this repo
|
|
- Run `git submodule update --remote --merge` to update to the upstream master branch of WonderMod
|
|
- Run `./external-blogs.sh` to pull the latest versions of the articles from [wonderfall.dev](https://wonderfall.dev) and place them in `/content`
|