Giter Site home page Giter Site logo

lingon-cli's Introduction

lingon-cli

The command line interface to lingon, a minimal static site generator inspired by Middleman and Sprockets.

Installation

Install the lingon cli globally:

npm install -g lingon-cli

Quickstart

# Initialize a new lingon project
lingon new my-project

# start the lingon server
cd my-project
lingon

# Output: 
# [ Lingon ] Working directory: /Path/to/project/my-project
# [ Lingon ] http server listening on: 0.0.0.0:5678

The app is now accessible on 0.0.0.0:5678.

Read more about lingon here.

Usage

This package will add a lingon binary to your path. It functions as a proxy to the lingon.js file and supports the exact same arguments.

# Generate a lingon new lingon project:
lingon new my-project # will clone https://github.com/javoire/lingon-template-minimal
lingon new my-project -t angular # will clone https://github.com/jpettersson/lingon-ng-template

# Start the server: 
lingon

# Build once and quit:
lingon build

# Show version: 
lingon -v

# Show help: 
lingon -h

# Start the server on a custom port:
lingon server -p 1111

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.