hof-generator

0.7.8 • Public • Published

hof-generator

CLI to quickly generate the file and folder structure for a basic hof app

Install

hof-generator should be installed globally to allow access to the hof command on $PATH

npm install -g hof-generator

Usage

Create a brand new hof project in a directory:

$ hof init [dir] [--app <name>]

Options

  • dir - the root directory of your application - Default .
  • app - the name of your first application - Defaults to the name of the target directory

Create a new app in an existing hof project:

$ hof app <name>

Options

  • name - the name of the application to add - Required

Running your app

Once you have created a new app, you can run it locally with npm start - Note: this will need a local redis instance running. You can then access your service in a browser at http://localhost:8080.

Alternatively, a basic docker-compose configuration is included, which will bundle redis and an nginx proxy. Run docker-compose up to start these services. You can then access your service in a browser at https://localhost.

/hof-generator/

    Package Sidebar

    Install

    npm i hof-generator

    Weekly Downloads

    0

    Version

    0.7.8

    License

    MIT

    Unpacked Size

    15.6 kB

    Total Files

    41

    Last publish

    Collaborators

    • temitopeayoku
    • mdev246
    • vinodha.s
    • chisomoguibe
    • robertmccann
    • rhyad-zergane-ho
    • rhodine
    • mohameduwais
    • lennym
    • easternbloc
    • joefitter
    • coupey
    • sulthan-ahmed
    • andrew.moody.ho
    • aswann
    • robertdeniszczyc2
    • agraham19
    • aaron.robinson
    • sarahjaneluff
    • cmedland
    • hof-bot-user
    • josephchapman