Giter VIP home page Giter VIP logo

16.davidosomething.com's Introduction

davidosomething.com for 2016

Greenkeeper badge

Static generated site for davidosomething.com

Upstream David dependency status Development Dependency Status Build Status

screenshot

Stack

Requires node >= 8.9.2 (I recommend using nvm, for which nvm use (or nvm install) will read .nvmrc and use the version of node specified there.

Install

Install dependencies:

npm install --global gulp jspm
npm install
jspm install

Note that gulp and jspm are only installed globally for local dev, whereas the CI-deployment uses npm run so the binaries in node_modules/.bin/ are in the path. You could technically use npm run ci-gulp-build if you don't want to install gulp globally.

Lint

  • gulp lint will run all lint tasks
  • gulp lint:js will run all lint tasks
  • gulp lint:md:markdownlint will run markdownlint on the md/ directory. Markdown linting is not a build step and is done on demand only.
  • gulp ci:lint will run all lint tasks (except markdown), this is for CI servers

Build

  • Run gulp to build.
  • Run gulp serve to start a local development server (via browser-sync)
  • Run npm start to start an on-going browser-sync session

Deploy

There are npm scripts in package.json to build via CI.

Output is generated to public/ and, if running on master from Travis, the directory is deployed to surge.sh and the GitHub Pages repo.

Deployment from Travis CI is configured in bin/travis-deploy.sh.

TODO

  • CSS
    • lint status to code climate
  • JS
    • codecoverage to codecov.io
    • can further refactor share link popups
    • react view for each article and widget
    • hot module reload
    • current article should be highlighted if in a widget
  • HTML
    • eventually remove hbs + metalsmith and use react + gatsby
  • Content
    • add images
      • image hosting? e.g. cloudinary

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.