Code Monkey home page Code Monkey logo

generator-fedhipster's Introduction

Welcome FedHipster

Octo Consulting FedHipster USWDS 2.0 Apache 2.0 License Semver Open Source Love

Welcome FedHipster

FedHipster is a fork of JHipster with support for U.S. Web Design System

Steps to build and test locally

  • Install FedHipster as a global module using the steps [https://www.jhipster.tech/][jhipster-url]
    • If installed successfully, you should be able to run fedhipster --version from the command lin
  • Clone this repository: git clone https://github.com/OctoConsulting/generator-fedhipster, change directory to the project root cd generator-fedhipster
  • Checkout the UWSDS branch git checkout with-uswds-option
  • Run npm link. The fedhipster executable will now use the source code from this project. Any changes made in this repo will immediately be reflected when you run fedhipster.
  • Create a new folder mkdir uwsds-app, cd uswds-app and run fedhipster --skip-server --db --auth=oauth2
  • Choose Angular as the framework and US Wed Design Standard as the style library.

If everything was install correctly npm start should launch the application.

Steps to use the subgenerator ('fedhipster entity foo') with using a local version on FedHipster.

Fedhipster will try to use the version of generator-fedhipster this is in node_module's even if you follow the steps above. NPM will download FedHipster to and not use the one we linked to above.

First, update the version of generator-fedhipster in your node_modules so that it uses the global module linked earlier.

$npm link generator-fedhipster

In cli/fedhipster.js (line 55) from your source code in your local generator-fedhipster, remove the code that search in the node_modules for the subgenerator. Comment out the if

            // if (__dirname !== path.dirname(localCLI)) {
                // load local version
                /* eslint-disable import/no-dynamic-require */
                logger.info("Using JHipster version installed locally in current project's node_modules");
                require(localCLI);
                return;
            // }

generator-fedhipster's People

Contributors

agaspardcilia avatar andidev avatar atomfrede avatar avdev4j avatar cbornet avatar chrisdns avatar ctamisier avatar danielfran avatar deepu105 avatar erikkemperman avatar flaviencathala avatar gmarziou avatar gzsombor avatar jdubois avatar jkutner avatar jmirc avatar leovr avatar moifort avatar mraible avatar murdos avatar pascalgrimaud avatar pierrebesson avatar pvliss avatar ruddell avatar sendilkumarn avatar tcharl avatar victorads avatar vishal423 avatar vivekmore avatar xetys avatar

Stargazers

 avatar

Watchers

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

Forkers

mehtaruchir

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.