Git Product home page Git Product logo

jordy248.github.io's Introduction

jordy248

Pelican that builds jordy248.github.io

jordynelson.io is hosted by GitHub Pages and powered by Pelican using a customized version of Theme Attila.

Publishing

  1. Clone both jordy248 (which contains the Pelican generator) and jordy248.github.io (which contains the static site generated by Pelican):
    • git clone https://github.com/jordy248/jordy248.git
    • git clone https://github.com/jordy248/jordy248.github.io.git
  2. Install dependencies:
    • Install npm dependencies:
      • npm i
    • Install Python dependencies:
      • poetry install
  3. In the jordy248 directory, make any changes to the Pelican configuration file, theme files, or content
    • Compile the Sass:
      • sass themes/martian/static/css/sass/main.scss themes/martian/static/css/main.css
      • Or using npm script:
        • npm run compile-sass
  4. In the jordy248 directory, run Pelican to generate the site:
    • pelican
      • Optionally: pelican /path/to/your/content/ [-s path/to/your/settings.py] if PATH (which specifies path to directory containing content to be published) isn't specified in the settings.py/pelicanconf.py file
      • Optionally: pelican --write-selected output/posts/my-post-title.html to only publish certain content
    • Or using npm script:
      • npm run compile-pelican
  5. The content will be written to ./output (or wherever OUTPUT_PATH specifies in the settings.py/pelicanconf.py file)
  6. Preview changes:
    • cd output
    • python -m http.server
    • Or using npm script:
      • npm run-python-server
  7. Move the contents of jordy248/output to jordy248.github.io and commit the changes to both jordy248 and jordy248.github.io
    • Using npm:
      • npm run copy-live

jordy248.github.io's People

Contributors

jordy248 avatar

Watchers

 avatar

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.