Git Product home page Git Product logo

jekyll-cardinal's Introduction

jekyll-cardinal

A boilerplate for Jekyll using the Cardinal LESS framework.

Getting Started

The following instructions will help you get up and running, so that you can start using this project from your local machine.

Prerequisites

This project depends on some software that must already be installed on your machine before proceeding.

  • Git (Mac users should already have this)

  • Ruby (Mac users should already have this)

  • Bundler

    After installing Git and Ruby, you can install Bundler by running the following command(s)*:

    gem install bundler
    

    *Mac users may need to use sudo gem install bundler instead.

  • NodeJS (Use the installer)

  • Bower

    After installing Git, Ruby, and Node, you can install Bower by running the following command(s)*:

    npm install -g bower
    

    *Mac users may need to use sudo npm install -g bower instead.

Installation

Once you have the above tools installed, you can clone this repository to your local machine, where you will be making your changes.

  1. Create a directory for this project on your machine, navigate to it, and clone this repository from GitHub into your directory by running the following command(s):
cd path/to/your/projects/folder
mkdir newproject.com && cd newproject.com
git clone https://github.com/cbracco/jekyll-cardinal.git .
  1. Create a repo for your new project, then update your the origin remote to point to your new project by running the following command(s):
git remote set-url origin [email protected]:your-username/newproject.com.git
  1. Install project dependencies by running the following command(s):
bundle
npm install
bower install
  1. Build the site and spin up a local server by running the following command(s) from your terminal:
gulp
  1. Navigate to http://127.0.0.1.xip.io:9999 in your browser and begin working!*

*This project uses BrowserSync and xip.io to automatically refresh your web browser on save, and to synchronize file changes and basic browser interactions (scrolling, clicking) across multiple devices. After running gulp in the terminal, you will see an “External URL” (e.g. http://192.168.1.114.xip.io:9999) that you can use for your various devices. Simply navigate to this URL in the browser of another device connected to your network, and watch your changes and interactions happen across multiple devices at the same time!

Resources

If you are running Windows on your machine, and you’ve run into problems with the above, then you might find these guides useful:

Developing

After running gulp, you should have a development server environment running on your local machine, and you can begin working.

Publishing

To publish a production-ready version of your project, run the following command(s):

gulp publish

This task will delete any existing builds, build a production-ready version with your latest changes, and spin up a local server for you to test.

Navigate to http://127.0.0.1.xip.io:9998 in your browser to view your local production build.

Deploying

Right now, a simple rsync deploy task is included so you can upload a production build to the server of your choice. You will want to modify the Gulp configuration to reflect your real server credentials.

To deploy your project via rsync, run the following command(s):

gulp deploy

Known Issues

Issues are logged and tracked in using GitHub’s Issues feature in this repo.

jekyll-cardinal's People

Contributors

cbracco avatar devinivy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

devinivy

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.