Coder Social home page Coder Social logo

thiagojedi / pretzel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code52/pretzel

0.0 1.0 0.0 4.56 MB

A site generation tool (and then some) for .NET platforms

License: Microsoft Public License

PowerShell 0.30% Batchfile 0.03% C# 98.46% Liquid 0.91% CSS 0.30%

pretzel's Introduction

AppVeyor build status Coverity Scan Build Status Coverage Status Chocolatey

Pretzel

A simple, pluggable site generation tool for .NET developers and Windows users (with Mono support planned I think)

Pretzel follows the same conventions as Jekyll and should be compatible with basic Jekyll websites. If you are not familiar with Jekyll, have a read at http://jekyllrb.com/docs/usage/

Usage

The principal commands are the following but more informations are available on the wiki

Create is used to create the folder structure for a new site.

pretzel create

If the site should be at a specific folder, this can be specified as a parameter:

pretzel create C:\path\to\folder

Bake is used to generate a site based on the contents of a folder.

To scan the current directory for a website and detect the content to process, run:

pretzel bake 

To scan a specific folder and parse the contents, run:

pretzel bake C:\path\to\folder

To explicitly specify the input - we should support inferring the input based on the files found anyway - run:

pretzel bake --engine liquid

Taste is for testing a site locally - make a change, and pretzel should handle regenerating the page when a file changes.

To test a site locally, run:

pretzel taste 

To specify the port to serve the site from (default will be 4000), run:

pretzel taste --port 5000

To stop the site, press q.

More infos on the wiki

Getting started

Getting started with Git and GitHub

Once you're familiar with Git and GitHub, clone the repository and run the .\build.cmd script to compile the code and run all the unit tests. You can use this script to test your changes quickly.

Discussing ideas

  • Trello Board - add ideas, or claim an idea and start working on it!
  • JabbR Chatroom - discuss things in real-time with people all over the world!

Contributing

All PRs are welcome but don't forget the tests with your new shiny feature.

Links

Attribution

โ€œPretzelโ€ symbol by Edward Boatman on The Noun Project, from The Noun Project collection.

pretzel's People

Contributors

shiftbot avatar andreyakinshin avatar markheath avatar ronnykarlsson avatar shiftkey avatar vikingcode avatar dkarzon avatar lukencode avatar andreimarukovich avatar shiftkey-tester avatar markvantilburg avatar jakeginnivan avatar andrewtobin avatar alexkopy avatar switchspan avatar tathamoddie avatar tiernano avatar kodfodrasz avatar andrexx avatar khellang avatar dubeaud avatar dtchepak avatar andrea-scarcella avatar ashopash avatar buildstarted avatar distantcam avatar jacoadriaansen avatar lodewijksioen avatar markgrovs avatar wattsm avatar

Watchers

Thiago 'Jedi' Abreu 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.