Coder Social home page Coder Social logo

benjaminparry / paulrobertlloyd-v4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paulrobertlloyd/paulrobertlloyd-v4

0.0 0.0 0.0 65.25 MB

My personal website. There are many like it, but this is mine.

Home Page: https://paulrobertlloyd.com

JavaScript 58.35% Liquid 24.94% CSS 16.71%

paulrobertlloyd-v4's Introduction

paulrobertlloyd.com

My personal website. There are many like it, but this is mine.

Installation

  1. git clone [email protected]:paulrobertlloyd/paulrobertlloyd-v4.git
  2. cd paulrobertlloyd-v4
  3. npm install
  4. npm run build

Generated files are written to the www directory.

Then, ensure the WEBMENTION_IO_TOKEN environment variable is set, which should be populated with your API key from webmention.io.

Development

When developing the site, you may want files automatically compiled and the browser to refresh automatically. To do this, run npm run watch.

Running locally with HTTPS

To run with HTTPS locally on macOS first follow the setup steps described here. To create the required SSL certificates, follow these steps:

  1. Change into the correct directory: cd etc

  2. Create the certificate files:

    openssl req \
    -new \
    -newkey rsa:2048 \
    -sha256 \
    -days 3650 \
    -nodes \
    -x509 \
    -keyout etc/test.key \
    -out etc/test.crt \
    -subj /CN=v4.paulrobertlloyd.test \
    -reqexts SAN \
    -extensions SAN \
    -config <(cat /System/Library/OpenSSL/openssl.cnf \
    <(printf '[SAN]\nsubjectAltName=DNS:v4.paulrobertlloyd.test'))
    

Deployment

This site is deployed automatically by Netlify whenever files are pushed to the master branch.

Repo structure

paulrobertlloyd.com
├── etc
│   ├── browser-sync.config.js   # BrowserSync configuration
│   ├── postcss.config.js        # PostCSS configuration
│   ├── rollup.config.js         # Rollup configuration
│   └── test.conf                # Local nginx server configuration
│
├── lib
│   ├── filters                  # Eleventy template filters
│   ├── libraries                # Eleventy template libraries
│   └── transforms               # Eleventy transforms
│
├── src
│   ├── _content                 # Content (Markdown)
│   ├── _data                    # Global website data (JSON)
│   ├── _includes                # Components and layout templates (Liquid)
│   ├── assets                   # Assets (CSS, JavaScript, WOFF2, SVG)
│   ├── images                   # Content images
│   ├── app.webmanifest.liquid   # Web App Manifest template
│   ├── feed.json.liquid         # RSS (JSON Feed) template
│   ├── feed.xml.liquid          # RSS (Atom) template
│   ├── robots.txt.liquid        # robots.txt template
│   ├── search.json.liquid       # Search database template
│   ├── serviceworker.js.liquid  # Service worker template
│   └── sitemap.xml.liquid       # Sitemap template
│
├── .editorconfig                # Text editor configuration
├── .eleventy.js                 # Eleventy configuration
├── .gitattributes               # Files tracked by Git LFS
├── .gitignore                   # Files not tracked by Git
├── .markdownlintrc              # markdownlint configuration
├── .stylelintrc                 # Stylelint configuration
├── netlify.toml                 # Netlify configuration
├── package.json                 # Node.js package manifest
├── package-lock.json            # Node.js package lock
└── README.md                    # This file

© Paul Robert Lloyd

paulrobertlloyd-v4's People

Contributors

chrissy-dev avatar dependabot-preview[bot] avatar paulrobertlloyd 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.