Giter Club home page Giter Club logo

SimplyBinary.com

The Simply Binary website is a static pages site built with Hugo and hosted on GitHub.io using their "Organization" Pages. This means that the master branch acts as a "public" document root and files placed there will be served accordingly.

Setting up for Development (and Deployment)

  1. Install Hugo
    • If your on a Mac this is easy with brew update && brew install hugo
    • Ensure you have at least version 0.14 with hugo version
  2. Clone the repo and make it your workign directory
  3. Ensure you have Node.js and NPM installed
  4. Install Node dependencies
    • npm install
  5. Install Bower dependencies
    • bower install

Contributing

Even if your not modifing style sheets or script it's important that gulp watch is running. This is because gulp runs a process called "uncss" which looks at the generated *.html files and strips css rules from the stream that will never match the given files. Failure to do so may cause elements to appear incorrectly styled even though the correct CSS is being generated by SASS.

Adding Features or Fixing Bugs

  • Create a topic branch from the dev branch
  • If you want to be extra clear, prefix feature brances with f/ and bugfix branches with b/
  • Ensure gulp watch is running.
  • Start Hugo's server and have it watch for changes with hugo server --watch
  • Make, verify, and commit changes
  • Submit a PR if you're feeling nice.
  • Once the branch is merged into dev, checkout dev and deploy changes to the master branch by running bin/deploy

Adding, Editing, and Removing Content

  • Create a topic branch from the dev branch
  • If you're feeling nice, prefix brances with c/ ("c" for content)
  • Ensure gulp watch is running.
  • Start Hugo's server and have it watch for changes with hugo server --watch
  • Make, verify, and commit changes

If you are creating new content:

  • Run hugo new TYPE/TITLE.md

    • Where TYPE is the content type like "work" or "class"
    • And Title is the title of the content such as "Intermediate-Git"
    • Ex. hugo new class/Intermediate-Git.md
  • Submit a PR if you're feeling nice.

  • Once the branch is merged into dev, checkout dev and deploy changes to the master branch by running bin/deploy

Simply Binary's Projects

Simply Binary doesnโ€™t have any public repositories yet.

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.