Coder Social home page Coder Social logo

kevin-deldycke-blog's Introduction

Kevin Deldycke's blog

Source and content to generate my static blog, which is powered by Pelican (engine) and Plumage (theme).

Installation

  • Fetch a copy of the repository:

    $ git clone https://github.com/kdeldycke/kevin-deldycke-blog.git blog
    $ cd ./blog
    
  • Install Python:

    $ brew install python
    $ python --version
    Python 3.12.4
    
  • Install uv:

    $ python -m pip install uv
    
  • Install this blog's dependencies:

    $ uv venv
    $ source .venv/bin/activate
    $ uv sync --all-extras --dev
    

Build and browse website

  • To build the content, in one terminal, run:

    $ uv run -- pelican
    
  • And to serve the website, in another terminal:

    $ uv run -- pelican --listen
    (...)
    Serving site at: 127.0.0.1:8000 - Tap CTRL-C to stop
    
  • Then go to http://localhost:8000.

Theme development

The section above is enough to add and modify the website content.

Now if you need to work both on the content and the theme you need to:

  • Get a local copy of the theme outside your ./blog virtualenv:

    $ cd ..
    $ git clone https://github.com/kdeldycke/plumage.git
    $ cd ./blog
    
  • Change plumage dependency in the Blog's pyproject.toml from:

    dependencies = [
        ...
        "plumage <anything>",
        ...
    ]

    To:

    dependencies = [
        ...
        "plumage",
        ...
    ]
  • Also add this new section in the same pyproject.toml, to force uv to pick up the latest local copy:

    [tool.uv.sources]
    plumage = { path = "../plumage", editable = true }

TODO

Content

Plugins

Theme

Dependencies

License

The content of this repository is copyrighted ยฉ 2004-2024 Kevin Deldycke.

Unless contrary mention, the content of this repository is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.

kevin-deldycke-blog's People

Contributors

clacke avatar dependabot[bot] avatar github-actions[bot] avatar kdeldycke avatar rasa avatar victorlamoine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kevin-deldycke-blog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.