Skip to content

Slug Security's site for writeups, announcements, projects, and miscellaneous information

License

Notifications You must be signed in to change notification settings

SlugSecurity/site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slug Security's site for writeups, announcements, projects, and miscellaneous information. Built with MkDocs and Material for MkDocs.

Project setup

Create venv

python3 -m venv venv

Activate venv

source ./venv/bin/activate

Install python dependencies (requires insider access)

pip install -r requirements.txt git+https://${GH_TOKEN}@github.com/0xfbad/framework.git

And the image-processing dependencies

sudo apt install pngquant libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev

Development

Given the few submodules for posts and writeups, clone those

git submodule update --init --recursive

Since posts and writeups are submodules, in order to contribute to those sections, you will need to git push the changes from those directories - not the root directory here as this project auto pulls new submodule changes.

Serve site locally

python -m mkdocs serve

Site will be available at localhost:8000.

Tips

Optimize PNG images

find ./src -type f -name "*.png" -exec pngquant --force --ext .png --skip-if-larger --strip -- "{}" \;

About

Slug Security's site for writeups, announcements, projects, and miscellaneous information

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •