GithubHelp home page GithubHelp logo

tgroshon / cory Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leo/cory

0.0 2.0 0.0 387 KB

Tiny generator for static sites

Home Page: https://npmjs.com/cory

License: MIT License

JavaScript 82.34% CSS 6.98% HTML 10.68%

cory's Introduction

cory

Build Status XO code style


IMPORTANT: This project is deprecated. Please go with next.js!


Ever wanted to create a static site while taking advantage of all the amazing things that are available within the JavaScript universe? Then you're at the right place!

Cory combines clean, logic-less handlebars templates and markdown files with a straightforward development workflow and allows you to set up a new site in a few seconds.

Usage

Install it (you'll need at least v6 of Node):

npm install -g cory

Run it:

cory [options] [command]

Theres a list of all options and commands below. For a step-by-step guide, check this out.

Contribute

Uninstall the package if it's already installed:

npm uninstall -g cory

Clone this repository:

git clone https://github.com/leo/cory.git
cd cory

Link it app to the global module directory:

npm link

Yeeha! ๐Ÿด Now you can use the gulp command within the repository to transpile the its sourcefiles and watch for changes. While the command is running, you're able to use the cory command everywhere!

Commands & Options

Run the following command to get a list of all available options and commands:

cory help

Config

There are a few properties that can be changed by simply adding them to a config.json file within your project. The JSON object below shows all available options and their default value:

{
  "port": 4000, // See option "--port" (CLI option will overwrite this)
  "outputDir": "dist", // Path of the directory that will contain the generated site
  "sourceMaps": true, // Enable/disable the generation of sourcemaps for assets
  "defaultLayout": "main", // The default template into which all pages will be wrapped
  "assetDir": "assets" // Default name of the folder that contains the assets
}

cory's People

Contributors

gitter-badger avatar greenkeeperio-bot avatar leo avatar

Watchers

 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.