Giter Club home page Giter Club logo

generator-armadillo's Introduction

generator-armadillo NPM version Build Status Dependency Status Coverage percentage

Let Armadillo build your static site for you

               ,.-----__
            ,:::://///,:::-.
          /:''/////// ``:::`;/|/     .----.
         /'   ||||||     :://'`\     | Yo |
        .' ,   ||||||     `/(  e \   /----'
  -===~__-'\__X_`````\_____/~`-._ `.
              ~~        ~~       `~-'

Installation

First, install Yeoman and generator-armadillo using npm (we assume you've followed Armadillo's Pre Setup instructions).

npm install -g yo
npm install -g generator-armadillo

Then, have Yeoman take your Armadillo for a walk and together, they'll build you a new project:

yo armadillo

License

MIT © Sam Richard

generator-armadillo's People

Contributors

mikl avatar snugug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

generator-armadillo's Issues

Cannot find module error (v 3.0.0)

module.js:471
    throw err;
    ^

Error: Cannot find module '../../helpers/armadillo'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/kellychurchhill/.nvm/versions/node/v6.9.2/lib/node_modules/generator-armadillo/generators/app/index.js:6:17)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

csslint and Sass disagreeing breaks build

I'm trying to convert my site to using Armadillo, and while having csslint running is generally a good idea, I'm having troubles with differences of opinion between Sass/Compass and csslint. The code it's complaining about here is all output from either Compass or compass-normalize.

The problem is that my grunt server command fails immediately with this error:

Running "csslint:all" (csslint) task
Linting .www/css/reshetka.css...ERROR
[L18:C3]
@font-face declaration doesn't follow the fontspring bulletproof syntax. Use the bulletproof @font-face syntax to avoid 404's in old IE (http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax). (bulletproof-font-face)
[L25:C3]
@font-face declaration doesn't follow the fontspring bulletproof syntax. Use the bulletproof @font-face syntax to avoid 404's in old IE (http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax). (bulletproof-font-face)
[L87:C1]
Outlines should only be modified using :focus. Use of outline: none or outline: 0 should be limited to :focus rules. (outline-none)
[L117:C3]
The property -webkit-box-sizing is compatible with -moz-box-sizing and should be included as well. Include all compatible vendor prefixes to reach a wider range of users. (compatible-vendor-prefixes)
[L232:C3]
The property -moz-appearance is compatible with -webkit-appearance and should be included as well. Include all compatible vendor prefixes to reach a wider range of users. (compatible-vendor-prefixes)
[L251:C3]
The property -moz-appearance is compatible with -webkit-appearance and should be included as well. Include all compatible vendor prefixes to reach a wider range of users. (compatible-vendor-prefixes)
[L260:C3]
The property -moz-appearance is compatible with -webkit-appearance and should be included as well. Include all compatible vendor prefixes to reach a wider range of users. (compatible-vendor-prefixes)

I'm all for code linting and compliance fascism, but it seems a bit agressive to let minor issues like completely prevent grunt server from working at all.

Since .csshintrc is a hidden file, it might be somewhat confusing to new users how to fix this issue. Perhaps the default configuration should be relaxed a bit?

Documentation: references to grunt-generator

When reading the Armadillo documentation, it's not very clear how to use partials, JSON front matter, etc.

Since these features are provided by grunt-generator and somewhat documented over there, it would probably be a good thing to point this fact out somewhere :)

Twitter bootstrap

I think it would be a nice idea if it includes the option for including twitter bootstrap

generator.js broken

Hello!

I ran into some problems where I can't run 'grunt serve'

Loading "generator.js" tasks...ERROR

TypeError: undefined is not a function
Warning: Task "serve" not found. Use --force to continue.

Aborted due to warnings.

I tried re-installing my grunt-cli but its still broken. any thoughts?

/cheers

Error when running yo generator-armadillo

Not sure where this issue comes from. Wrong (e.g. newer) version of NPM? Missing some dependency? User error?

Error: Cannot find module '../build/Debug/nodegit.node' at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/Users/me/node_modules/generator-armadillo/node_modules/nodegit/lib/nodegit.js:16:12) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3)

Partials

First it is a great boilerplate. I develop a static site with it and want to have partials. Do you have an example how I can develop it?

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.