Giter Club home page Giter Club logo

jxf-dot-me's Introduction

jxf-dot-me

"The time has come", the Walrus said,
"To talk of many things.
Of ships, and shoes, and sealing-wax;
Of cabbages and kings."

-- Louis Carroll

Personal blog and portfolio site.

Installation

This is a Jekyll project which uses gulp for tasks regarding static assets.

Dependencies

Build tasks

Install gulp globally:

npm i -g gulp

Run the npm install to pull down the required gulp packages:

npm i

Run the gulp tasks:

gulp

This will compile, prefix, and minify the SCSS in scss/ and place it into css/.

Generate the site

You can leverage the gulpfile to install all dependencies and build the Jekyll site with the bootstrap task:

gulp bootstrap
Or, you can run everything manually like so:

It's important to first complete the build tasks to ensure that the static assets are updated.

  • Install the dependencies: bundle.
  • Build the site: jekyll build.
  • Run the site locally for development: jekyll serve --watch.

SCSS project structure

css/
|
`-- c.css                 # Compiled, prefixed CSS.
`-- c.min.css             # Compiled, prefixed, and minified CSS.

scss/
|
|-- modules/              # Common modules
|   |-- _all.scss         # Include to get all modules
|   |-- _utilities.scss   # Module name
|   |-- _reset.scss       # reset
|   |-- _colors.scss      # Etc...
|   ...
|
|-- partials/             # Partials
|   |-- _base.scss        # imports for all mixins + global project variables
|   |-- _buttons.scss     # buttons
|   |-- _figures.scss     # figures
|   |-- _grids.scss       # grids
|   |-- _typography.scss  # typography
|   ...
|
|-- components/           # Components
|   |-- _posts-list.scss  # styling for the post list component
|   ...
|
|-- variables/            # Variables
|   |-- _base.scss        # base variable declarations
|   ...
|
`-- all.scss              # primary Sass file

Running

  • gulp build: build everything
  • gulp serve: build everything, then serve files at localhost:4000

jxf-dot-me's People

Contributors

fj avatar johno avatar

Watchers

James Cloos avatar  avatar  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.