Giter Club home page Giter Club logo

v1.chrisbracco.com's Introduction

v1.chrisbracco.com

Build Status

The first version of Chris Bracco’s personal website. Archived for posterity.

This project is an opinionated front-end boilerplate for developing and deploying static websites using Jekyll. It includes several front-end tools that help facilitate the development process, and Gulp to automate common development tasks, compiling source code, watching files for changes, and deployment.

Features

Requirements

This project is compatible with Linux, Unix, and Mac OSX operating systems. It requires the following software to be already installed on your system:

Running Windows? Jekyll does not officially support the Windows operating system, but they do provide special instructions if you want to take a crack at it anyway.

Installation

Clone this repository to your local machine, and install its dependencies with the following command(s):

git clone [email protected]:cbracco/chrisbracco.com.git
cd chrisbracco.com/
npm install

The npm install command will first run bundle install to install the required Ruby gems, and then npm install for the required npm modules.

Usage

Developing

To start working, first run the following command(s):

npm start

The npm start command will run the default Gulp task which builds the Jekyll templates and compiles the website assets, starts a local server (http://127.0.0.1.xip.io:9999) with Browsersync, opens the project in the default browser, and begins watching for file changes.

This is considered “Development Mode”, which means that the files being served in this local environment are not yet minified or optimized for deployment.

Publishing

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

npm run prod

The npm run prod command will run the production Gulp task which deletes any existing production builds, builds a new production-ready version of the website, starts a local server (http://127.0.0.1.xip.io:9998) with Browsersync, and opens the project in the default browser.

This can be considered “Production Mode”, which means that the files being served in this local environment are minified and optimized for deployment. It is intended to mimic the production environment on your local environment, so you can preview exactly what you will see before you deploy the website to a production server.

Deploying

Before deploying the website, first create a file called rsync-credentials.json and fill it with the following information:

{
  "destination": "/path/to/your/website",
  "hostname": "example.com",
  "username": "person",
  "port": 666
}

Then, run the following command(s) to deploy a production-ready version of the website to a remote server:

npm run production
npm run deploy

The npm run production command will run the build Gulp task that deletes any existing production builds, and builds a new production-ready version of the website. The npm run deploy will run the deploy build task that uses rsync to upload the website to the specified remote server.

Credits

“If I have seen further it is by standing on ye sholders of Giants.”Issac Newton

jekyll-postcss-browserify is a project by @cbracco and its contributors. It is influenced by the following organizations, projects, articles, and individuals:

Thank you all for your hard work.

Contributing

Changelog

License

v1.chrisbracco.com's People

Contributors

cbracco avatar

Watchers

 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.