Giter Club home page Giter Club logo

metalsmith-base's Introduction

Metalsmith Base

A metalsmith base starter kit used at Evocode.com. Some features:

Install

mkdir newproject
git clone [email protected]:evocode/metalsmith-base.git newproject
cd newproject
npm install

Develop

This command will fully build a development version of the site, start the gulp watchers, and setup a development server. The command output will list the server address to open in your browser.

npm run start

Build

This command will build a production version of the site and sync it with a git repository, ready to be comitted.

To link the build process to your repository, you can do of the following options:

  1. Create a repo dotfile: echo "[email protected]:username/repository.git" > .buildrepo
  2. Edit package.json script section: "build": "./node_modules/.bin/gulp --production --build && ./build.sh [email protected]:username/repository.git"

After the repository is setup, simply run:

npm run build

Commands

  1. npm run dev - Run a development build
  2. npm run start - Run a development build, start the development server and watchers
  3. npm run debug - Run a development build in debug mode
  4. npm run production - Run a production build, compiles assets and minifies
  5. npm run build - Run a production build and sync with git
  6. npm run watch - Start the gulp watchers
  7. npm run vendor - Copies over any vendor files from node_modules to metalsmith assets

All commands can be run directly with: ./node_modules/.bin/gulp

metalsmith-base's People

Contributors

jboulhous avatar patrickheeney avatar thangngoc89 avatar

Watchers

 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.