Code Monkey home page Code Monkey logo

generator-trails's Introduction

generator-trails

Gitter NPM version Linux + OSX Build Status Windows Build Status Dependency Status Follow @trailsjs on Twitter

Trails Yeoman Generator.

Usage

Make sure you are using a recent version of yeoman (>=1.8). You can install the latest Yeoman with npm i -g yo

$ npm install -g yo
$ yo trails --help

Usage:
  yo trails [options] 

Options:
        --help          # Print the generator's options and usage
        --skip-cache    # Do not remember prompt answers             Default: false
        --skip-install  # Do not automatically install dependencies  Default: false
        --skip-update   # Do not check for generator's updates       Default: false
        --force         # Force. Do stuff even if you shouldn't.     Default: false

Generators:

  Create New Model
    yo trails:model <model-name>

  Create New Controller
    yo trails:controller <controller-name>

  Create New Policy
    yo trails:policy <policy-name>

  Create New Service
    yo trails:service <service-name>

  Create New Trailpack
    yo trails:trailpack --new

  Create new Configuration File
    yo trails:config <config-name>
    
  Install Trailpacks into a Trails Application
    yo trails:trailpack --install <trailpacks-name> (like yo trails:trailpack trailpack-repl,trailpack-webpack,...)

Contributing

We love contributions! Please see our Contribution Guide for more information.

License

MIT

generator-trails's People

Contributors

ghaiklor avatar gitter-badger avatar greenkeeperio-bot avatar incocode avatar jaumard avatar konstantinzolotarev avatar tjwebb avatar tnunes avatar wbprice avatar weyert avatar yannbertrand avatar

Watchers

 avatar  avatar  avatar

generator-trails's Issues

Error: Cannot find module '../../../lib/util'

After install this module and trying to run yo trails I am getting the following:

MacBook-Pro trails # yo trails
module.js:538
    throw err;
    ^

Error: Cannot find module '../../../lib/util'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/develop/.nvm/versions/node/v8.9.3/lib/node_modules/generator-trails/generators/app/steps/writing.js:5:14)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)

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.